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

Private Attributes

STRING_TYPE const id_
 The RepositoryId globally identifying the type.
 
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

◆ Base_Attributes() [1/2]

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

Constructor.

◆ Base_Attributes() [2/2]

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

Constructor used by recursive TypeCodes.

Member Function Documentation

◆ id()

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

Get the RepositoryId globally identifying the type.

◆ name() [1/2]

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

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

◆ name() [2/2]

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

◆ id_

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

The RepositoryId globally identifying the type.

◆ name_

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: