BDE 4.14.0 Production release
Loading...
Searching...
No Matches
s_baltst::CustomizedHexBinary Class Reference

#include <s_baltst_customizedhexbinary.h>

Public Types

typedef bsl::vector< char > BaseType
 

Public Member Functions

 CustomizedHexBinary ()
 
 CustomizedHexBinary (const CustomizedHexBinary &original)
 
 CustomizedHexBinary (const bsl::vector< char > &value)
 
 ~CustomizedHexBinary ()
 Destroy this object.
 
CustomizedHexBinaryoperator= (const CustomizedHexBinary &rhs)
 Assign to this object the value of the specified rhs object.
 
void reset ()
 
int fromVector (const bsl::vector< char > &value)
 
bsl::ostream & print (bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
 
const bsl::vector< char > & toVector () const
 Convert this value to bsl::vector<char>.
 

Static Public Member Functions

static int checkRestrictions (const bsl::vector< char > &value)
 

Static Public Attributes

static const char CLASS_NAME []
 

Friends

bool operator== (const CustomizedHexBinary &lhs, const CustomizedHexBinary &rhs)
 
bool operator!= (const CustomizedHexBinary &lhs, const CustomizedHexBinary &rhs)
 

Member Typedef Documentation

◆ BaseType

Constructor & Destructor Documentation

◆ CustomizedHexBinary() [1/3]

s_baltst::CustomizedHexBinary::CustomizedHexBinary ( )
inline

Create an object of type CustomizedHexBinary having the default value.

◆ CustomizedHexBinary() [2/3]

s_baltst::CustomizedHexBinary::CustomizedHexBinary ( const CustomizedHexBinary original)
inline

Create an object of type CustomizedHexBinary having the value of the specified original object.

◆ CustomizedHexBinary() [3/3]

s_baltst::CustomizedHexBinary::CustomizedHexBinary ( const bsl::vector< char > &  value)
inlineexplicit

Create an object of type CustomizedHexBinary having the specified value.

◆ ~CustomizedHexBinary()

s_baltst::CustomizedHexBinary::~CustomizedHexBinary ( )
inline

Member Function Documentation

◆ checkRestrictions()

int s_baltst::CustomizedHexBinary::checkRestrictions ( const bsl::vector< char > &  value)
inlinestatic

Check if the specified value satisfies the restrictions of this class (i.e., "CustomizedHexBinary"). Return 0 if successful (i.e., the restrictions are satisfied) and non-zero otherwise.

◆ fromVector()

int s_baltst::CustomizedHexBinary::fromVector ( const bsl::vector< char > &  value)
inline

Convert from the specified value to this type. Return 0 if successful and non-zero otherwise.

◆ operator=()

CustomizedHexBinary & s_baltst::CustomizedHexBinary::operator= ( const CustomizedHexBinary rhs)
inline

◆ print()

bsl::ostream & s_baltst::CustomizedHexBinary::print ( bsl::ostream &  stream,
int  level = 0,
int  spacesPerLevel = 4 
) const
inline

Format this object to the specified output stream at the optionally specified indentation level and return a reference to the modifiable stream. If level is specified, optionally specify spacesPerLevel, the number of spaces per indentation level for this and all of its nested objects. Each line is indented by the absolute value of level * spacesPerLevel. If level is negative, suppress indentation of the first line. If spacesPerLevel is negative, suppress line breaks and format the entire output on one line. If stream is initially invalid, this operation has no effect. Note that a trailing newline is provided in multiline mode only.

◆ reset()

void s_baltst::CustomizedHexBinary::reset ( )
inline

Reset this object to the default value (i.e., its value upon default construction).

◆ toVector()

const bsl::vector< char > & s_baltst::CustomizedHexBinary::toVector ( ) const
inline

Friends And Related Symbol Documentation

◆ operator!=

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

Return true if the specified lhs and rhs attribute objects do not have the same value, and false otherwise. Two attribute objects do not have the same value if one or more respective attributes differ in values.

◆ operator==

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

Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise. Two attribute objects have the same value if each respective attribute has the same value.

Member Data Documentation

◆ CLASS_NAME

const char s_baltst::CustomizedHexBinary::CLASS_NAME[]
static

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