1 #ifndef _MADARA_VARIABLE_REFERENCE_INL_ 2 #define _MADARA_VARIABLE_REFERENCE_INL_ 23 uint32_t size = uint32_t (name.length () + 1);
24 char * temp =
new char[size];
25 strncpy (temp, name.c_str (), size - 1);
38 #endif // _MADARA_VARIABLE_REFERENCE_INL_ utility::ScopedArray< const char > name_
potential string value of the node (size int)
bool is_valid(void) const
Checks to see if the variable reference has been initialized.
T * get_ptr(void)
get the underlying pointer
const char * get_name(void) const
Returns the name of the variable.
void set_name(const std::string &name)
Sets the name of the variable.
knowledge::KnowledgeRecord * record_
Reference to knowledge record.