TAO_Codeset_Parameters Class Reference

A simple storage class for the native codeset and any translators that must be configured when creating an instance of codeset manager. More...

#include <default_resource.h>

Inheritance diagram for TAO_Codeset_Parameters:

Inheritance graph
[legend]
Collaboration diagram for TAO_Codeset_Parameters:

Collaboration graph
[legend]

List of all members.

Public Types

typedef
ACE_Unbounded_Queue_Iterator
< ACE_TCHAR * > 
iterator

Public Member Functions

 TAO_Codeset_Parameters (void)
 ~TAO_Codeset_Parameters (void)
const ACE_TCHARnative (void)
 The native codeset (getter).
void native (const ACE_TCHAR *n)
 The native codeset (setter).
void add_translator (const ACE_TCHAR *name)
 Add a new codeset.
iterator translators (void)
 Iterate through the registered translators.
void apply_to (TAO_Codeset_Descriptor_Base *csd)
 Apply the parameters to the said descriptor.

Private Attributes

ACE_Unbounded_Queue< ACE_TCHAR * > translators_
ACE_TCHARnative_


Detailed Description

A simple storage class for the native codeset and any translators that must be configured when creating an instance of codeset manager.

The Resource Factory uses two instances of this class during its initialization, to capture any native codeset or translators settings. The RF later uses these parameters when creating instances of the codeset manager.

Perhaps, the best would be to place the responsibility for codeset manager's configuration with the the codeset manager factory?


Member Typedef Documentation


Constructor & Destructor Documentation

TAO_Codeset_Parameters::TAO_Codeset_Parameters ( void   ) 

TAO_Codeset_Parameters::~TAO_Codeset_Parameters ( void   ) 


Member Function Documentation

void TAO_Codeset_Parameters::add_translator ( const ACE_TCHAR name  ) 

Add a new codeset.

void TAO_Codeset_Parameters::apply_to ( TAO_Codeset_Descriptor_Base csd  ) 

Apply the parameters to the said descriptor.

void TAO_Codeset_Parameters::native ( const ACE_TCHAR n  ) 

The native codeset (setter).

const ACE_TCHAR * TAO_Codeset_Parameters::native ( void   ) 

The native codeset (getter).

TAO_Codeset_Parameters::iterator TAO_Codeset_Parameters::translators ( void   ) 

Iterate through the registered translators.


Member Data Documentation


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

Generated on Mon Jul 13 16:25:39 2009 for TAO by  doxygen 1.5.8