Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ constraint_solver/

operations_research::ArgumentHolder Class Reference

Argument Holder: useful when visiting a model. More...

#include <constraint_solveri.h>

List of all members.

Public Member Functions

const string & TypeName () const
 Type of the argument.
void SetTypeName (const string &type_name)
void SetIntegerArgument (const string &arg_name, int64 value)
 Setters.
void SetIntegerArrayArgument (const string &arg_name, const int64 *const values, int size)
void SetIntegerMatrixArgument (const string &arg_name, const IntTupleSet &values)
void SetIntegerExpressionArgument (const string &arg_name, const IntExpr *const expr)
void SetIntegerVariableArrayArgument (const string &arg_name, const IntVar *const *const vars, int size)
void SetIntervalArgument (const string &arg_name, const IntervalVar *const var)
void SetIntervalArrayArgument (const string &arg_name, const IntervalVar *const *const vars, int size)
void SetSequenceArgument (const string &arg_name, const SequenceVar *const var)
void SetSequenceArrayArgument (const string &arg_name, const SequenceVar *const *const vars, int size)
bool HasIntegerExpressionArgument (const string &arg_name) const
 Checks if arguments exist.
bool HasIntegerVariableArrayArgument (const string &arg_name) const
int64 FindIntegerArgumentWithDefault (const string &arg_name, int64 def) const
 Getters.
int64 FindIntegerArgumentOrDie (const string &arg_name) const
const std::vector< int64 > & FindIntegerArrayArgumentOrDie (const string &arg_name) const
const IntTupleSet & FindIntegerMatrixArgumentOrDie (const string &arg_name) const
const IntExprFindIntegerExpressionArgumentOrDie (const string &arg_name) const
const std::vector< const
IntVar * > & 
FindIntegerVariableArrayArgumentOrDie (const string &arg_name) const


Detailed Description

Argument Holder: useful when visiting a model.

Definition at line 1628 of file constraint_solveri.h.


Member Function Documentation

const string & operations_research::ArgumentHolder::TypeName (  )  const

Type of the argument.

ArgumentHolder.

Definition at line 34 of file visitor.cc.

void operations_research::ArgumentHolder::SetTypeName ( const string &  type_name  ) 

Definition at line 38 of file visitor.cc.

void operations_research::ArgumentHolder::SetIntegerArgument ( const string &  arg_name,
int64  value 
)

Setters.

Definition at line 42 of file visitor.cc.

void operations_research::ArgumentHolder::SetIntegerArrayArgument ( const string &  arg_name,
const int64 *const   values,
int  size 
)

Definition at line 46 of file visitor.cc.

void operations_research::ArgumentHolder::SetIntegerMatrixArgument ( const string &  arg_name,
const IntTupleSet &  values 
)

Definition at line 55 of file visitor.cc.

void operations_research::ArgumentHolder::SetIntegerExpressionArgument ( const string &  arg_name,
const IntExpr *const   expr 
)

Definition at line 62 of file visitor.cc.

void operations_research::ArgumentHolder::SetIntegerVariableArrayArgument ( const string &  arg_name,
const IntVar *const *const   vars,
int  size 
)

Definition at line 68 of file visitor.cc.

void operations_research::ArgumentHolder::SetIntervalArgument ( const string &  arg_name,
const IntervalVar *const   var 
)

Definition at line 77 of file visitor.cc.

void operations_research::ArgumentHolder::SetIntervalArrayArgument ( const string &  arg_name,
const IntervalVar *const *const   vars,
int  size 
)

Definition at line 83 of file visitor.cc.

void operations_research::ArgumentHolder::SetSequenceArgument ( const string &  arg_name,
const SequenceVar *const   var 
)

Definition at line 92 of file visitor.cc.

void operations_research::ArgumentHolder::SetSequenceArrayArgument ( const string &  arg_name,
const SequenceVar *const *const   vars,
int  size 
)

Definition at line 98 of file visitor.cc.

bool operations_research::ArgumentHolder::HasIntegerExpressionArgument ( const string &  arg_name  )  const

Checks if arguments exist.

Definition at line 107 of file visitor.cc.

bool operations_research::ArgumentHolder::HasIntegerVariableArrayArgument ( const string &  arg_name  )  const

Definition at line 112 of file visitor.cc.

int64 operations_research::ArgumentHolder::FindIntegerArgumentWithDefault ( const string &  arg_name,
int64  def 
) const

Getters.

Definition at line 118 of file visitor.cc.

int64 operations_research::ArgumentHolder::FindIntegerArgumentOrDie ( const string &  arg_name  )  const

Definition at line 124 of file visitor.cc.

const std::vector< int64 > & operations_research::ArgumentHolder::FindIntegerArrayArgumentOrDie ( const string &  arg_name  )  const

Definition at line 128 of file visitor.cc.

const IntTupleSet & operations_research::ArgumentHolder::FindIntegerMatrixArgumentOrDie ( const string &  arg_name  )  const

Definition at line 145 of file visitor.cc.

const IntExpr * operations_research::ArgumentHolder::FindIntegerExpressionArgumentOrDie ( const string &  arg_name  )  const

Definition at line 134 of file visitor.cc.

const std::vector< const IntVar * > & operations_research::ArgumentHolder::FindIntegerVariableArrayArgumentOrDie ( const string &  arg_name  )  const

Definition at line 140 of file visitor.cc.


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