BDE 4.39.x Production Release
Loading...
Searching...
No Matches
baljsn::EncoderTestChoiceWithAllCategories Class Reference

#include <baljsn_encoder_testtypes.h>

Public Types

enum  {
  SELECTION_ID_UNDEFINED = -1 , SELECTION_ID_CHAR_ARRAY = 0 , SELECTION_ID_CHOICE = 1 , SELECTION_ID_CUSTOMIZED_TYPE = 2 ,
  SELECTION_ID_ENUMERATION = 3 , SELECTION_ID_SEQUENCE = 4 , SELECTION_ID_SIMPLE = 5
}
 
enum  { NUM_SELECTIONS = 6 }
 
enum  {
  SELECTION_INDEX_CHAR_ARRAY = 0 , SELECTION_INDEX_CHOICE = 1 , SELECTION_INDEX_CUSTOMIZED_TYPE = 2 , SELECTION_INDEX_ENUMERATION = 3 ,
  SELECTION_INDEX_SEQUENCE = 4 , SELECTION_INDEX_SIMPLE = 5
}
 

Public Member Functions

 EncoderTestChoiceWithAllCategories (bslma::Allocator *basicAllocator=0)
 
 EncoderTestChoiceWithAllCategories (const EncoderTestChoiceWithAllCategories &original, bslma::Allocator *basicAllocator=0)
 
 ~EncoderTestChoiceWithAllCategories ()
 
EncoderTestChoiceWithAllCategoriesoperator= (const EncoderTestChoiceWithAllCategories &rhs)
 
void reset ()
 
int makeSelection (int selectionId)
 
int makeSelection (const char *name, int nameLength)
 
bsl::vector< char > & makeCharArray ()
 
bsl::vector< char > & makeCharArray (const bsl::vector< char > &value)
 
EncoderTestChoiceWithAllCategoriesChoicemakeChoice ()
 
EncoderTestChoiceWithAllCategoriesChoicemakeChoice (const EncoderTestChoiceWithAllCategoriesChoice &value)
 
EncoderTestChoiceWithAllCategoriesCustomizedTypemakeCustomizedType ()
 
EncoderTestChoiceWithAllCategoriesCustomizedTypemakeCustomizedType (const EncoderTestChoiceWithAllCategoriesCustomizedType &value)
 
EncoderTestChoiceWithAllCategoriesEnumeration::ValuemakeEnumeration ()
 
EncoderTestChoiceWithAllCategoriesEnumeration::ValuemakeEnumeration (EncoderTestChoiceWithAllCategoriesEnumeration::Value value)
 
EncoderTestChoiceWithAllCategoriesSequencemakeSequence ()
 
EncoderTestChoiceWithAllCategoriesSequencemakeSequence (const EncoderTestChoiceWithAllCategoriesSequence &value)
 
int & makeSimple ()
 
int & makeSimple (int value)
 
template<typename t_MANIPULATOR >
int manipulateSelection (t_MANIPULATOR &manipulator)
 
bsl::vector< char > & charArray ()
 
EncoderTestChoiceWithAllCategoriesChoicechoice ()
 
EncoderTestChoiceWithAllCategoriesCustomizedTypecustomizedType ()
 
EncoderTestChoiceWithAllCategoriesEnumeration::Valueenumeration ()
 
EncoderTestChoiceWithAllCategoriesSequencesequence ()
 
int & simple ()
 
bsl::ostream & print (bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
 
int selectionId () const
 
template<typename t_ACCESSOR >
int accessSelection (t_ACCESSOR &accessor) const
 
const bsl::vector< char > & charArray () const
 
const EncoderTestChoiceWithAllCategoriesChoicechoice () const
 
const EncoderTestChoiceWithAllCategoriesCustomizedTypecustomizedType () const
 
const EncoderTestChoiceWithAllCategoriesEnumeration::Valueenumeration () const
 
const EncoderTestChoiceWithAllCategoriesSequencesequence () const
 
const int & simple () const
 
bool isCharArrayValue () const
 
bool isChoiceValue () const
 
bool isCustomizedTypeValue () const
 
bool isEnumerationValue () const
 
bool isSequenceValue () const
 
bool isSimpleValue () const
 
bool isUndefinedValue () const
 
const char * selectionName () const
 

Static Public Member Functions

static const bdlat_SelectionInfolookupSelectionInfo (int id)
 
static const bdlat_SelectionInfolookupSelectionInfo (const char *name, int nameLength)
 

Static Public Attributes

static const char CLASS_NAME []
 
static const bdlat_SelectionInfo SELECTION_INFO_ARRAY []
 

Friends

bool operator== (const EncoderTestChoiceWithAllCategories &lhs, const EncoderTestChoiceWithAllCategories &rhs)
 
bool operator!= (const EncoderTestChoiceWithAllCategories &lhs, const EncoderTestChoiceWithAllCategories &rhs)
 
bsl::ostream & operator<< (bsl::ostream &stream, const EncoderTestChoiceWithAllCategories &rhs)
 
template<typename t_HASH_ALGORITHM >
void hashAppend (t_HASH_ALGORITHM &hashAlg, const EncoderTestChoiceWithAllCategories &object)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SELECTION_ID_UNDEFINED 
SELECTION_ID_CHAR_ARRAY 
SELECTION_ID_CHOICE 
SELECTION_ID_CUSTOMIZED_TYPE 
SELECTION_ID_ENUMERATION 
SELECTION_ID_SEQUENCE 
SELECTION_ID_SIMPLE 

◆ anonymous enum

anonymous enum
Enumerator
NUM_SELECTIONS 

◆ anonymous enum

anonymous enum
Enumerator
SELECTION_INDEX_CHAR_ARRAY 
SELECTION_INDEX_CHOICE 
SELECTION_INDEX_CUSTOMIZED_TYPE 
SELECTION_INDEX_ENUMERATION 
SELECTION_INDEX_SEQUENCE 
SELECTION_INDEX_SIMPLE 

Constructor & Destructor Documentation

◆ EncoderTestChoiceWithAllCategories() [1/2]

baljsn::EncoderTestChoiceWithAllCategories::EncoderTestChoiceWithAllCategories ( bslma::Allocator basicAllocator = 0)
inlineexplicit

◆ EncoderTestChoiceWithAllCategories() [2/2]

baljsn::EncoderTestChoiceWithAllCategories::EncoderTestChoiceWithAllCategories ( const EncoderTestChoiceWithAllCategories original,
bslma::Allocator basicAllocator = 0 
)

◆ ~EncoderTestChoiceWithAllCategories()

baljsn::EncoderTestChoiceWithAllCategories::~EncoderTestChoiceWithAllCategories ( )
inline

Member Function Documentation

◆ accessSelection()

template<typename t_ACCESSOR >
int baljsn::EncoderTestChoiceWithAllCategories::accessSelection ( t_ACCESSOR &  accessor) const

◆ charArray() [1/2]

bsl::vector< char > & baljsn::EncoderTestChoiceWithAllCategories::charArray ( )
inline

◆ charArray() [2/2]

const bsl::vector< char > & baljsn::EncoderTestChoiceWithAllCategories::charArray ( ) const
inline

◆ choice() [1/2]

EncoderTestChoiceWithAllCategoriesChoice & baljsn::EncoderTestChoiceWithAllCategories::choice ( )
inline

◆ choice() [2/2]

const EncoderTestChoiceWithAllCategoriesChoice & baljsn::EncoderTestChoiceWithAllCategories::choice ( ) const
inline

◆ customizedType() [1/2]

EncoderTestChoiceWithAllCategoriesCustomizedType & baljsn::EncoderTestChoiceWithAllCategories::customizedType ( )
inline

◆ customizedType() [2/2]

const EncoderTestChoiceWithAllCategoriesCustomizedType & baljsn::EncoderTestChoiceWithAllCategories::customizedType ( ) const
inline

◆ enumeration() [1/2]

EncoderTestChoiceWithAllCategoriesEnumeration::Value & baljsn::EncoderTestChoiceWithAllCategories::enumeration ( )
inline

◆ enumeration() [2/2]

const EncoderTestChoiceWithAllCategoriesEnumeration::Value & baljsn::EncoderTestChoiceWithAllCategories::enumeration ( ) const
inline

◆ isCharArrayValue()

bool baljsn::EncoderTestChoiceWithAllCategories::isCharArrayValue ( ) const
inline

◆ isChoiceValue()

bool baljsn::EncoderTestChoiceWithAllCategories::isChoiceValue ( ) const
inline

◆ isCustomizedTypeValue()

bool baljsn::EncoderTestChoiceWithAllCategories::isCustomizedTypeValue ( ) const
inline

◆ isEnumerationValue()

bool baljsn::EncoderTestChoiceWithAllCategories::isEnumerationValue ( ) const
inline

◆ isSequenceValue()

bool baljsn::EncoderTestChoiceWithAllCategories::isSequenceValue ( ) const
inline

◆ isSimpleValue()

bool baljsn::EncoderTestChoiceWithAllCategories::isSimpleValue ( ) const
inline

◆ isUndefinedValue()

bool baljsn::EncoderTestChoiceWithAllCategories::isUndefinedValue ( ) const
inline

◆ lookupSelectionInfo() [1/2]

static const bdlat_SelectionInfo * baljsn::EncoderTestChoiceWithAllCategories::lookupSelectionInfo ( const char *  name,
int  nameLength 
)
static

◆ lookupSelectionInfo() [2/2]

static const bdlat_SelectionInfo * baljsn::EncoderTestChoiceWithAllCategories::lookupSelectionInfo ( int  id)
static

◆ makeCharArray() [1/2]

bsl::vector< char > & baljsn::EncoderTestChoiceWithAllCategories::makeCharArray ( )

◆ makeCharArray() [2/2]

bsl::vector< char > & baljsn::EncoderTestChoiceWithAllCategories::makeCharArray ( const bsl::vector< char > &  value)

◆ makeChoice() [1/2]

EncoderTestChoiceWithAllCategoriesChoice & baljsn::EncoderTestChoiceWithAllCategories::makeChoice ( )

◆ makeChoice() [2/2]

EncoderTestChoiceWithAllCategoriesChoice & baljsn::EncoderTestChoiceWithAllCategories::makeChoice ( const EncoderTestChoiceWithAllCategoriesChoice value)

◆ makeCustomizedType() [1/2]

EncoderTestChoiceWithAllCategoriesCustomizedType & baljsn::EncoderTestChoiceWithAllCategories::makeCustomizedType ( )

◆ makeCustomizedType() [2/2]

EncoderTestChoiceWithAllCategoriesCustomizedType & baljsn::EncoderTestChoiceWithAllCategories::makeCustomizedType ( const EncoderTestChoiceWithAllCategoriesCustomizedType value)

◆ makeEnumeration() [1/2]

EncoderTestChoiceWithAllCategoriesEnumeration::Value & baljsn::EncoderTestChoiceWithAllCategories::makeEnumeration ( )

◆ makeEnumeration() [2/2]

EncoderTestChoiceWithAllCategoriesEnumeration::Value & baljsn::EncoderTestChoiceWithAllCategories::makeEnumeration ( EncoderTestChoiceWithAllCategoriesEnumeration::Value  value)

◆ makeSelection() [1/2]

int baljsn::EncoderTestChoiceWithAllCategories::makeSelection ( const char *  name,
int  nameLength 
)

◆ makeSelection() [2/2]

int baljsn::EncoderTestChoiceWithAllCategories::makeSelection ( int  selectionId)

◆ makeSequence() [1/2]

EncoderTestChoiceWithAllCategoriesSequence & baljsn::EncoderTestChoiceWithAllCategories::makeSequence ( )

◆ makeSequence() [2/2]

EncoderTestChoiceWithAllCategoriesSequence & baljsn::EncoderTestChoiceWithAllCategories::makeSequence ( const EncoderTestChoiceWithAllCategoriesSequence value)

◆ makeSimple() [1/2]

int & baljsn::EncoderTestChoiceWithAllCategories::makeSimple ( )

◆ makeSimple() [2/2]

int & baljsn::EncoderTestChoiceWithAllCategories::makeSimple ( int  value)

◆ manipulateSelection()

template<typename t_MANIPULATOR >
int baljsn::EncoderTestChoiceWithAllCategories::manipulateSelection ( t_MANIPULATOR &  manipulator)

◆ operator=()

EncoderTestChoiceWithAllCategories & baljsn::EncoderTestChoiceWithAllCategories::operator= ( const EncoderTestChoiceWithAllCategories rhs)

◆ print()

bsl::ostream & baljsn::EncoderTestChoiceWithAllCategories::print ( bsl::ostream &  stream,
int  level = 0,
int  spacesPerLevel = 4 
) const

◆ reset()

void baljsn::EncoderTestChoiceWithAllCategories::reset ( )

◆ selectionId()

int baljsn::EncoderTestChoiceWithAllCategories::selectionId ( ) const
inline

◆ selectionName()

const char * baljsn::EncoderTestChoiceWithAllCategories::selectionName ( ) const

◆ sequence() [1/2]

EncoderTestChoiceWithAllCategoriesSequence & baljsn::EncoderTestChoiceWithAllCategories::sequence ( )
inline

◆ sequence() [2/2]

const EncoderTestChoiceWithAllCategoriesSequence & baljsn::EncoderTestChoiceWithAllCategories::sequence ( ) const
inline

◆ simple() [1/2]

int & baljsn::EncoderTestChoiceWithAllCategories::simple ( )
inline

◆ simple() [2/2]

const int & baljsn::EncoderTestChoiceWithAllCategories::simple ( ) const
inline

Friends And Related Symbol Documentation

◆ hashAppend

template<typename t_HASH_ALGORITHM >
void hashAppend ( t_HASH_ALGORITHM &  hashAlg,
const EncoderTestChoiceWithAllCategories object 
)
friend

◆ operator!=

bool operator!= ( const EncoderTestChoiceWithAllCategories lhs,
const EncoderTestChoiceWithAllCategories rhs 
)
friend

◆ operator<<

bsl::ostream & operator<< ( bsl::ostream &  stream,
const EncoderTestChoiceWithAllCategories rhs 
)
friend

◆ operator==

bool operator== ( const EncoderTestChoiceWithAllCategories lhs,
const EncoderTestChoiceWithAllCategories rhs 
)
friend

Member Data Documentation

◆ CLASS_NAME

const char baljsn::EncoderTestChoiceWithAllCategories::CLASS_NAME[]
static

◆ d_charArray

bsls::ObjectBuffer< bsl::vector<char> > baljsn::EncoderTestChoiceWithAllCategories::d_charArray

◆ d_choice

bsls::ObjectBuffer< EncoderTestChoiceWithAllCategoriesChoice > baljsn::EncoderTestChoiceWithAllCategories::d_choice

◆ d_customizedType

bsls::ObjectBuffer< EncoderTestChoiceWithAllCategoriesCustomizedType > baljsn::EncoderTestChoiceWithAllCategories::d_customizedType

◆ d_enumeration

bsls::ObjectBuffer< EncoderTestChoiceWithAllCategoriesEnumeration::Value > baljsn::EncoderTestChoiceWithAllCategories::d_enumeration

◆ d_sequence

bsls::ObjectBuffer< EncoderTestChoiceWithAllCategoriesSequence > baljsn::EncoderTestChoiceWithAllCategories::d_sequence

◆ d_simple

bsls::ObjectBuffer< int > baljsn::EncoderTestChoiceWithAllCategories::d_simple

◆ SELECTION_INFO_ARRAY

const bdlat_SelectionInfo baljsn::EncoderTestChoiceWithAllCategories::SELECTION_INFO_ARRAY[]
static

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