1 #ifndef NameAttributeValue_H 2 #define NameAttributeValue_H 82 void init_NameAttributeValue(
const char* str );
85 virtual void print( ostream& os=cerr );
106 bool check_boolean(
char* str );
108 void seperate_keyword_attribute(
char* );
110 void seperate_keyword_value(
char* );
void set_name(const char *n)
set the name of the object.
Definition: NameAttributeValue.h:91
void set_value(const char *v)
set the value of the object.
Definition: NameAttributeValue.h:94
Definition: NameAttributeValue.h:40
virtual void print(ostream &os=cerr)
Print the content of the object to a stream.
Definition: NameAttributeValue.cc:103
NameAttributeValue()
Default constructor, all members are initialize to an empty string.
Definition: NameAttributeValue.h:64
void set_attribute(const char *a)
set the attribute of the object.
Definition: NameAttributeValue.h:88
virtual ~NameAttributeValue()
Destructor.
Definition: NameAttributeValue.h:61
string get_name(void) const
return the name of the object
Definition: NameAttributeValue.h:76
NameAttributeValue(const char *str)
Definition: NameAttributeValue.h:70
string get_attribute(void)
return the attribute of the object
Definition: NameAttributeValue.h:73
string get_value(void) const
return the pointer to the value of the object
Definition: NameAttributeValue.h:79