Google OR-Tools: Annotation Struct Reference

Definition at line 265 of file model.h.

#include <model.h>

Public Member Functions

std::string DebugString () const
bool IsFunctionCallWithIdentifier (absl::string_view identifier) const
void AppendAllVariables (std::vector< Variable * > *vars) const

Static Public Member Functions

static Annotation Empty ()
static Annotation AnnotationList (std::vector< Annotation > list)
static Annotation Identifier (absl::string_view id)
static Annotation FunctionCallWithArguments (absl::string_view id, std::vector< Annotation > args)
static Annotation FunctionCall (absl::string_view id)
static Annotation Interval (int64_t interval_min, int64_t interval_max)
static Annotation IntegerValue (int64_t value)
static Annotation IntegerList (const std::vector< int64_t > &values)
static Annotation VarRef (Variable *var)
static Annotation VarRefArray (std::vector< Variable * > variables)
static Annotation String (absl::string_view str)

Public Attributes

Type type
int64_t interval_min
int64_t interval_max
std::string id
std::vector< Annotationannotations
std::vector< Variable * > variables
std::vector< int64_t > values
std::string string_value

◆ Type

Enumerator
ANNOTATION_LIST 
IDENTIFIER 
FUNCTION_CALL 
INT_VALUE 
INT_LIST 
INTERVAL 
VAR_REF 
VAR_REF_ARRAY 
STRING_VALUE 

Definition at line 266 of file model.h.

◆ AnnotationList()

◆ AppendAllVariables()

◆ DebugString()

◆ Empty()

◆ FunctionCall()

◆ FunctionCallWithArguments()

◆ Identifier()

◆ IntegerList()

◆ IntegerValue()

◆ Interval()

◆ IsFunctionCallWithIdentifier()

◆ String()

◆ VarRef()

◆ VarRefArray()

◆ annotations

◆ id

◆ interval_max

◆ interval_min

◆ string_value

◆ type

◆ values

◆ variables


The documentation for this struct was generated from the following files: