NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
CApad_Base::C_Attlist Class Reference

Search Toolkit Book for CApad_Base::C_Attlist

C_Attlist --. More...

#include <Apad_.hpp>

List of all members.

Public Types

enum  EAttlist_align { eAttlist_align_left = 1, eAttlist_align_right = 2 }
typedef NCBI_NS_STD::string TWith
typedef NCBI_NS_STD::string TWidth
typedef EAttlist_align TAlign

Public Member Functions

 C_Attlist (void)
 ~C_Attlist (void)
 DECLARE_INTERNAL_TYPE_INFO ()
bool IsSetWith (void) const
 Check if a value has been assigned to With data member.
bool CanGetWith (void) const
 Check if it is safe to call GetWith method.
void ResetWith (void)
 Reset With data member.
const TWithGetWith (void) const
 Get the With member data.
void SetWith (const TWith &value)
 Assign a value to With data member.
TWithSetWith (void)
 Assign a value to With data member.
bool IsSetWidth (void) const
 Check if a value has been assigned to Width data member.
bool CanGetWidth (void) const
 Check if it is safe to call GetWidth method.
void ResetWidth (void)
 Reset Width data member.
const TWidthGetWidth (void) const
 Get the Width member data.
void SetWidth (const TWidth &value)
 Assign a value to Width data member.
TWidthSetWidth (void)
 Assign a value to Width data member.
bool IsSetAlign (void) const
 Check if a value has been assigned to Align data member.
bool CanGetAlign (void) const
 Check if it is safe to call GetAlign method.
void ResetAlign (void)
 Reset Align data member.
TAlign GetAlign (void) const
 Get the Align member data.
void SetAlign (TAlign value)
 Assign a value to Align data member.
TAlignSetAlign (void)
 Assign a value to Align data member.
void Reset (void)
 Reset the whole object.

Static Public Member Functions

static const
NCBI_NS_NCBI::CEnumeratedTypeValues
*ENUM_METHOD_NAME() 
EAttlist_align (void)
 Access to EAttlist_align's attributes (values, names) as defined in spec.

Private Types

typedef NCBI_NS_NCBI::CSerialObject Tparent

Private Member Functions

 C_Attlist (const C_Attlist &)
C_Attlistoperator= (const C_Attlist &)

Private Attributes

Uint4 m_set_State [1]
TWith m_With
TWidth m_Width
TAlign m_Align

Detailed Description

C_Attlist --.

Definition at line 98 of file Apad_.hpp.


Member Typedef Documentation

Definition at line 121 of file Apad_.hpp.

typedef NCBI_NS_NCBI::CSerialObject CApad_Base::C_Attlist::Tparent [private]

Definition at line 100 of file Apad_.hpp.

typedef NCBI_NS_STD::string CApad_Base::C_Attlist::TWidth

Definition at line 120 of file Apad_.hpp.

typedef NCBI_NS_STD::string CApad_Base::C_Attlist::TWith

Definition at line 119 of file Apad_.hpp.


Member Enumeration Documentation

Enumerator:
eAttlist_align_left 
eAttlist_align_right 

Definition at line 110 of file Apad_.hpp.


Constructor & Destructor Documentation

END_CLASS_INFO CApad_Base::C_Attlist::C_Attlist ( void  )

Definition at line 94 of file Apad_.cpp.

References m_set_State.

CApad_Base::C_Attlist::~C_Attlist ( void  )

Definition at line 101 of file Apad_.cpp.

CApad_Base::C_Attlist::C_Attlist ( const C_Attlist ) [private]

Member Function Documentation

bool CApad_Base::C_Attlist::CanGetAlign ( void  ) const [inline]

Check if it is safe to call GetAlign method.

Returns:
  • true, if the data member is getatable.
  • false, otherwise.

Definition at line 762 of file Apad_.hpp.

bool CApad_Base::C_Attlist::CanGetWidth ( void  ) const [inline]

Check if it is safe to call GetWidth method.

Returns:
  • true, if the data member is getatable.
  • false, otherwise.

Definition at line 722 of file Apad_.hpp.

bool CApad_Base::C_Attlist::CanGetWith ( void  ) const [inline]

Check if it is safe to call GetWith method.

Returns:
  • true, if the data member is getatable.
  • false, otherwise.

Definition at line 682 of file Apad_.hpp.

CApad_Base::C_Attlist::DECLARE_INTERNAL_TYPE_INFO ( )
static const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME() CApad_Base::C_Attlist::EAttlist_align ( void  ) [static]

Access to EAttlist_align's attributes (values, names) as defined in spec.

CApad_Base::C_Attlist::TAlign CApad_Base::C_Attlist::GetAlign ( void  ) const [inline]

Get the Align member data.

Returns:
Copy of the member data.

Definition at line 775 of file Apad_.hpp.

const CApad_Base::C_Attlist::TWidth & CApad_Base::C_Attlist::GetWidth ( void  ) const [inline]

Get the Width member data.

Returns:
Reference to the member data.

Definition at line 728 of file Apad_.hpp.

const CApad_Base::C_Attlist::TWith & CApad_Base::C_Attlist::GetWith ( void  ) const [inline]

Get the With member data.

Returns:
Reference to the member data.

Definition at line 688 of file Apad_.hpp.

bool CApad_Base::C_Attlist::IsSetAlign ( void  ) const [inline]

Check if a value has been assigned to Align data member.

Data member Align is mandatory with default eAttlist_align_right; its type is defined as 'typedef EAttlist_align TAlign'

Returns:
  • true, if a value has been assigned.
  • false, otherwise.

Definition at line 756 of file Apad_.hpp.

References CApad_Base::m_set_State.

bool CApad_Base::C_Attlist::IsSetWidth ( void  ) const [inline]

Check if a value has been assigned to Width data member.

Data member Width is mandatory; its type is defined as 'typedef NCBI_NS_STD::string TWidth'

Returns:
  • true, if a value has been assigned.
  • false, otherwise.

Definition at line 716 of file Apad_.hpp.

References CApad_Base::m_set_State.

bool CApad_Base::C_Attlist::IsSetWith ( void  ) const [inline]

Check if a value has been assigned to With data member.

Data member With is mandatory; its type is defined as 'typedef NCBI_NS_STD::string TWith'

Returns:
  • true, if a value has been assigned.
  • false, otherwise.

Definition at line 676 of file Apad_.hpp.

References m_set_State.

C_Attlist& CApad_Base::C_Attlist::operator= ( const C_Attlist ) [private]
void CApad_Base::C_Attlist::Reset ( void  )

Reset the whole object.

Definition at line 75 of file Apad_.cpp.

void CApad_Base::C_Attlist::ResetAlign ( void  ) [inline]

Reset Align data member.

Definition at line 768 of file Apad_.hpp.

References CApad_Base::m_set_State.

void CApad_Base::C_Attlist::ResetWidth ( void  )

Reset Width data member.

Definition at line 69 of file Apad_.cpp.

References CApad_Base::m_set_State.

END_ENUM_INFO void CApad_Base::C_Attlist::ResetWith ( void  )

Reset With data member.

Definition at line 63 of file Apad_.cpp.

References m_set_State, and m_With.

void CApad_Base::C_Attlist::SetAlign ( TAlign  value) [inline]

Assign a value to Align data member.

Parameters:
valueValue to assign

Definition at line 781 of file Apad_.hpp.

References CApad_Base::m_set_State.

CApad_Base::C_Attlist::TAlign & CApad_Base::C_Attlist::SetAlign ( void  ) [inline]

Assign a value to Align data member.

Returns:
Reference to the data value.

Definition at line 788 of file Apad_.hpp.

References CApad_Base::m_set_State.

void CApad_Base::C_Attlist::SetWidth ( const TWidth value) [inline]

Assign a value to Width data member.

Parameters:
valueValue to assign

Definition at line 737 of file Apad_.hpp.

References CApad_Base::m_set_State.

CApad_Base::C_Attlist::TWidth & CApad_Base::C_Attlist::SetWidth ( void  ) [inline]

Assign a value to Width data member.

Returns:
Reference to the data value.

Definition at line 744 of file Apad_.hpp.

References CApad_Base::m_set_State.

void CApad_Base::C_Attlist::SetWith ( const TWith value) [inline]

Assign a value to With data member.

Parameters:
valueValue to assign

Definition at line 697 of file Apad_.hpp.

References CApad_Base::m_set_State.

CApad_Base::C_Attlist::TWith & CApad_Base::C_Attlist::SetWith ( void  ) [inline]

Assign a value to With data member.

Returns:
Reference to the data value.

Definition at line 704 of file Apad_.hpp.

References CApad_Base::m_set_State.


Member Data Documentation

Definition at line 250 of file Apad_.hpp.

Definition at line 247 of file Apad_.hpp.

Referenced by C_Attlist(), IsSetWith(), and ResetWith().

Definition at line 249 of file Apad_.hpp.

Definition at line 248 of file Apad_.hpp.

Referenced by ResetWith().


The documentation for this class was generated from the following files:
Modified on Wed Feb 08 09:09:51 2012 by modify_doxy.py rev. 337098