|
virtual ExportIndexNode * | clone () const |
| Make a deep copy of the instance. More...
|
|
virtual returnValue | exportDataDeclaration (std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const |
|
| ExportIndexNode (const std::string &_name, const std::string &_prefix, const int _factor=1, const int _offset=0) |
|
| ExportIndexNode (const int _value) |
|
| ExportIndexNode (ExportStatementOperator _op, const ExportIndex &_arg1, const ExportIndex &_arg2) |
|
const std::string | get () const |
| Returns a string containing the value of the index. More...
|
|
const int | getFactor () const |
|
const int | getGivenValue () const |
|
const int | getOffset () const |
|
bool | isBinary () const |
|
virtual bool | isGiven () const |
|
bool | isVariable () const |
|
virtual | ~ExportIndexNode () |
|
| ExportDataInternal (const std::string &_name=std::string(), ExportType _type=REAL, ExportStruct _dataStruct=ACADO_LOCAL, const std::string &_prefix=std::string()) |
|
ExportStruct | getDataStruct () const |
|
std::string | getDataStructString () const |
|
virtual std::string | getDoc () const |
|
std::string | getFullName () const |
|
std::string | getName () const |
|
std::string | getPrefix () const |
|
ExportType | getType () const |
|
std::string | getTypeString (const std::string &_realString="real_t", const std::string &_intString="int") const |
|
returnValue | setDataStruct (ExportStruct _dataStruct) |
|
virtual returnValue | setDoc (const std::string &_doc) |
|
returnValue | setName (const std::string &_name) |
|
returnValue | setPrefix (const std::string &_prefix) |
|
returnValue | setType (ExportType _type) |
|
virtual | ~ExportDataInternal () |
|
void | assertInit () const |
| Assert that the object has been initialized. More...
|
|
virtual void | deepCopyMembers (std::map< SharedObjectNode *, SharedObject > &already_copied) |
| Deep copy data members. More...
|
|
int | getCount () const |
| Get the reference count. More...
|
|
virtual void | init () |
| Initialize the object. More...
|
|
bool | isInit () const |
| Check if the object has been initialized. More...
|
|
SharedObjectNode & | operator= (const SharedObjectNode &node) |
| Assignment operator. More...
|
|
virtual void | print (std::ostream &stream) const |
| Print a destription of the object. More...
|
|
virtual void | repr (std::ostream &stream) const |
| Print a representation of the object. More...
|
|
| SharedObjectNode () |
| Default constructor. More...
|
|
| SharedObjectNode (const SharedObjectNode &node) |
| Copy constructor. More...
|
|
virtual | ~SharedObjectNode ()=0 |
| Destructor. More...
|
|
Definition at line 50 of file export_index_node.hpp.
returnValue ExportIndexNode::exportDataDeclaration |
( |
std::ostream & |
stream, |
|
|
const std::string & |
_realString = "real_t" , |
|
|
const std::string & |
_intString = "int" , |
|
|
int |
_precision = 16 |
|
) |
| const |
|
virtual |
Exports declaration of the index variable. Its appearance can can be adjusted by various options.
@param[in] file Name of file to be used to export function.
@param[in] _realString std::string to be used to declare real variables.
@param[in] _intString std::string to be used to declare integer variables.
@param[in] _precision Number of digits to be used for exporting real values.
\return SUCCESSFUL_RETURN
Implements ExportDataInternal.
Definition at line 33 of file export_index_node.cpp.