Public Member Functions |
| | DCTypedef (DCParameter *parameter, bool implicit=false) |
| | The DCTypedef object becomes the owner of the supplied parameter pointer and will delete it upon destruction.
|
| | DCTypedef (const string &name) |
| | Creates a bogus typedef reference.
|
| string | get_description () const |
| | Returns a brief decription of the typedef, useful for human consumption.
|
| const string & | get_name () const |
| | Returns the name of this typedef.
|
| int | get_number () const |
| | Returns a unique index number associated with this typedef definition.
|
| bool | is_bogus_typedef () const |
| | Returns true if the typedef has been flagged as a bogus typedef.
|
| bool | is_implicit_typedef () const |
| | Returns true if the typedef has been flagged as an implicit typedef, meaning it was created for a DCClass that was referenced inline as a type.
|
| DCParameter * | make_new_parameter () const |
| | Returns a newly-allocated DCParameter object that uses the same type as that named by the typedef.
|
| virtual void | output (ostream &out, bool brief) const |
| | Write a string representation of this instance to <out>.
|
| void | set_number (int number) |
| | Assigns the unique number to this typedef.
|
|
virtual void | write (ostream &out, bool brief, int indent_level) const |
This represents a single typedef declaration in the dc file.
It assigns a particular type to a new name, just like a C typedef.
Definition at line 29 of file dcTypedef.h.