42 const std::string& _prefix
44 :
SharedObjectNode(),
name( _name ), type( _type ), prefix( _prefix ), dataStruct( _dataStruct ),
57 if ( _name.empty() == true )
116 const std::string& _intString
128 return std::string(
"double complex");
131 return std::string(
"static const ") + _intString;
134 return std::string(
"static const ") + _realString;
137 return std::string(
"unknownType");
149 std::stringstream tmp;
153 if (prefix.empty() ==
false)
163 tmp << fcnPrefix +
"Workspace";
167 tmp << fcnPrefix +
"Params";
171 tmp << fcnPrefix +
"Vars";
218 if (
prefix.empty() == false )
Internal class for the reference counting framework, see comments on the public class.
returnValue setDataStruct(ExportStruct _dataStruct)
std::string getFullName() const
Allows to pass back messages to the calling function.
std::string getTypeString(const std::string &_realString="real_t", const std::string &_intString="int") const
ExportDataInternal(const std::string &_name=std::string(), ExportType _type=REAL, ExportStruct _dataStruct=ACADO_LOCAL, const std::string &_prefix=std::string())
#define CLOSE_NAMESPACE_ACADO
virtual std::string getDoc() const
virtual returnValue setDoc(const std::string &_doc)
returnValue setPrefix(const std::string &_prefix)
static std::string fcnPrefix
ExportType getType() const
returnValue setName(const std::string &_name)
std::string getName() const
std::string getDataStructString() const
virtual ~ExportDataInternal()
ExportStruct getDataStruct() const
#define BEGIN_NAMESPACE_ACADO
std::string getPrefix() const
returnValue setType(ExportType _type)
#define ACADOERROR(retval)
returnValue setFullName(void)