TAO_AnyTypeCode  2.4.1
Public Member Functions | Private Attributes | List of all members
TAO::TypeCode::Base_Attributes< STRING_TYPE > Class Template Reference

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. More...
 
 Base_Attributes (char const *id)
 Constructor used by recursive TypeCodes. More...
 
char const * id (void) const
 Get the RepositoryId globally identifying the type. More...
 
char const * name (void) const
 
void name (char const *the_name)
 

Private Attributes

STRING_TYPE const id_
 The RepositoryId globally identifying the type. More...
 
STRING_TYPE name_
 

Detailed Description

template<typename STRING_TYPE>
class TAO::TypeCode::Base_Attributes< STRING_TYPE >

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.

Constructor & Destructor Documentation

template<typename STRING_TYPE >
TAO::TypeCode::Base_Attributes< STRING_TYPE >::Base_Attributes ( char const *  id,
char const *  name 
)

Constructor.

template<typename STRING_TYPE >
TAO::TypeCode::Base_Attributes< STRING_TYPE >::Base_Attributes ( char const *  id)

Constructor used by recursive TypeCodes.

Member Function Documentation

template<typename STRING_TYPE >
char const * TAO::TypeCode::Base_Attributes< STRING_TYPE >::id ( void  ) const

Get the RepositoryId globally identifying the type.

template<typename STRING_TYPE >
char const * TAO::TypeCode::Base_Attributes< STRING_TYPE >::name ( void  ) const

Get the simple name identifying the type within its enclosing scope.

template<typename STRING_TYPE >
void TAO::TypeCode::Base_Attributes< STRING_TYPE >::name ( char const *  the_name)

Set the simple name identifying the type within its enclosing scope.

Note
This method only used when creating a recursive TypeCode.

Member Data Documentation

template<typename STRING_TYPE>
STRING_TYPE const TAO::TypeCode::Base_Attributes< STRING_TYPE >::id_
private

The RepositoryId globally identifying the type.

template<typename STRING_TYPE>
STRING_TYPE TAO::TypeCode::Base_Attributes< STRING_TYPE >::name_
private

The simple name identifying the type within its enclosing scope.


The documentation for this class was generated from the following files: