#include <attribute.h>
Inheritance diagram for class_def::attribute:


Definition at line 10 of file attribute.h.
Public Types | |
| enum | { value = 0, containment = 1, reference = 2, shallow_pointer = 3, deep_pointer = 4 } |
Public Member Functions | |
| int | is_custom_class () const |
| virtual const char * | get_class_name () const=0 |
| void | set_null () |
| void | init_calc_derived_attributes () |
| void | init (const std::string &Type, int Reference, const std::string &Name, const std::string &Null_value, int Max_length, const std::vector< std::string > &Comments) |
| attribute (const std::string &Type="", int Reference=0, const std::string &Name="", const std::string &Null_value="", int Max_length=0, std::vector< std::string > Comments=_empty_string_vector) | |
| virtual | ~attribute () |
| attribute * | get_this () |
| const std::string & | get_type () const |
| int | get_reference () const |
| const std::string & | get_name () const |
| const std::string & | get_null_value () const |
| int | get_max_length () const |
| const std::vector< std::string > & | get_comments () const |
| std::string | input_format_of_name () const |
| std::string | storage_format_of_name () const |
| std::string | get_Name () const |
| void | put_type (const std::string &Type) |
| void | put_reference (int Reference) |
| void | put_name (const std::string &Name) |
| void | put_null_value (const std::string &Null_Value) |
| void | put_comments (const std::vector< std::string > &Comments) |
| void | print_comments (std::ostream &s) const |
Static Public Member Functions | |
| static void | put_allow_custom_classes (int newval) |
| static void | put_copy_constructor (int newval) |
| static void | put_check_attributes (int newval) |
| static int | get_allow_custom_classes () |
| static int | get_copy_constructor () |
| static int | get_check_attributes () |
| static const char * | _get_class_name () |
| static int | check_attributes (const std::string &Type, int Reference, const std::string &Name, const std::string &Null_value, int Max_length, const std::vector< std::string > &Comments) |
Protected Attributes | |
| std::string | _type |
| int | _reference |
| std::string | _name |
| std::string | _null_value |
| int | _max_length |
| std::vector< std::string > | _comments |
Static Protected Attributes | |
| static int | _erno |
| static const char * | _error_msg |
| static int | _allow_custom_classes |
| static int | _copy_constructor |
| static int | _check_attributes |
|
static const std::vector< std::string > | _empty_string_vector |
Friends | |
| std::istream & | operator>> (std::istream &s, attribute &atr) |
| std::ostream & | operator<< (std::ostream &s, const attribute &atr) |
1.5.1