Attributes contained by most TypeCodes with complex parameter lists.
More...
#include <TypeCode_Base_Attributes.h>
Public Member Functions | |
| Base_Attributes (char const *id, char const *name) | |
| Constructor. | |
| Base_Attributes (char const *id) | |
Constructor used by recursive TypeCodes. | |
| char const * | id (void) const |
Get the RepositoryId globally identifying the type. | |
| char const * | name (void) const |
| void | name (char const *the_name) |
Private Attributes | |
| STRING_TYPE const | id_ |
The RepositoryId globally identifying the type. | |
| STRING_TYPE | name_ |
Attributes contained by most TypeCodes with complex parameter lists.
Most TypeCodes with complex parameter lists (see Section 15.3.5.1 "TypeCode" in the CORBA specification) contain these attributes, namely a repository ID and a name.
Definition at line 44 of file TypeCode_Base_Attributes.h.
| TAO::TypeCode::Base_Attributes< STRING_TYPE >::Base_Attributes | ( | char const * | id, | |
| char const * | name | |||
| ) |
Constructor.
Definition at line 11 of file TypeCode_Base_Attributes.inl.
| TAO::TypeCode::Base_Attributes< STRING_TYPE >::Base_Attributes | ( | char const * | id | ) |
Constructor used by recursive TypeCodes.
Definition at line 21 of file TypeCode_Base_Attributes.inl.
| char const * TAO::TypeCode::Base_Attributes< STRING_TYPE >::id | ( | void | ) | const |
Get the RepositoryId globally identifying the type.
Definition at line 32 of file TypeCode_Base_Attributes.inl.
{
return Traits<STRING_TYPE>::get_string (this->id_);
}
| void TAO::TypeCode::Base_Attributes< STRING_TYPE >::name | ( | char const * | the_name | ) |
Set the simple name identifying the type within its enclosing scope.
Definition at line 46 of file TypeCode_Base_Attributes.inl.
{
// This method will only be instantiated in the dynamic TypeCode
// case, i.e. when STRING_TYPE is CORBA::String_var.
this->name_ = the_name;
}
| char const * TAO::TypeCode::Base_Attributes< STRING_TYPE >::name | ( | void | ) | const |
Get the simple name identifying the type within its enclosing scope.
Definition at line 39 of file TypeCode_Base_Attributes.inl.
{
return Traits<STRING_TYPE>::get_string (this->name_);
}
STRING_TYPE const TAO::TypeCode::Base_Attributes< STRING_TYPE >::id_ [private] |
The RepositoryId globally identifying the type.
Definition at line 73 of file TypeCode_Base_Attributes.h.
STRING_TYPE TAO::TypeCode::Base_Attributes< STRING_TYPE >::name_ [private] |
The simple name identifying the type within its enclosing scope.
Definition at line 77 of file TypeCode_Base_Attributes.h.
1.7.0