NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
CObjectList::_CColumn Struct Reference

Search Toolkit Book for CObjectList::_CColumn

#include <gui/objutils/object_list.hpp>

+ Collaboration diagram for CObjectList::_CColumn:

Public Member Functions

 _CColumn (EColumnType type, const string &name)
 
const vector< int > & IntVector () const
 
vector< int > & IntVector ()
 
void IntVector (int size)
 
const vector< double > & DoubleVector () const
 
vector< double > & DoubleVector ()
 
void DoubleVector (int size)
 
const vector< string > & StringVector () const
 
vector< string > & StringVector ()
 
void StringVector (int size)
 

Public Attributes

string m_Name
 
EColumnType m_Type
 actually column can be of types eString, eInteger, eDouble More...
 
CRef< CObjectm_ValuesRef
 actually it is a reference to wxArrayString, wxArrayInt, or wxArrayDouble More...
 

Detailed Description

Definition at line 73 of file object_list.hpp.

Constructor & Destructor Documentation

◆ _CColumn()

CObjectList::_CColumn::_CColumn ( EColumnType  type,
const string name 
)
inline

Definition at line 75 of file object_list.hpp.

Member Function Documentation

◆ DoubleVector() [1/3]

vector< double > & CObjectList::_CColumn::DoubleVector ( )

Definition at line 85 of file object_list.cpp.

References _ASSERT, and CObjectList::eDouble.

◆ DoubleVector() [2/3]

const vector< double > & CObjectList::_CColumn::DoubleVector ( ) const

Definition at line 78 of file object_list.cpp.

References _ASSERT, and CObjectList::eDouble.

Referenced by CObjectList::Append(), and CObjectList::CObjectList().

◆ DoubleVector() [3/3]

void CObjectList::_CColumn::DoubleVector ( int  size)

◆ IntVector() [1/3]

vector< int > & CObjectList::_CColumn::IntVector ( )

Definition at line 60 of file object_list.cpp.

References _ASSERT, and CObjectList::eInteger.

◆ IntVector() [2/3]

const vector< int > & CObjectList::_CColumn::IntVector ( ) const

◆ IntVector() [3/3]

void CObjectList::_CColumn::IntVector ( int  size)

◆ StringVector() [1/3]

vector< string > & CObjectList::_CColumn::StringVector ( )

Definition at line 110 of file object_list.cpp.

References _ASSERT, and CObjectList::eString.

◆ StringVector() [2/3]

const vector< string > & CObjectList::_CColumn::StringVector ( ) const

Definition at line 103 of file object_list.cpp.

References _ASSERT, and CObjectList::eString.

Referenced by CObjectList::Append(), and CObjectList::CObjectList().

◆ StringVector() [3/3]

void CObjectList::_CColumn::StringVector ( int  size)

Member Data Documentation

◆ m_Name

string CObjectList::_CColumn::m_Name

Definition at line 81 of file object_list.hpp.

◆ m_Type

EColumnType CObjectList::_CColumn::m_Type

actually column can be of types eString, eInteger, eDouble

Definition at line 83 of file object_list.hpp.

Referenced by CObjectList::Append(), and IntVector().

◆ m_ValuesRef

CRef<CObject> CObjectList::_CColumn::m_ValuesRef

actually it is a reference to wxArrayString, wxArrayInt, or wxArrayDouble

Definition at line 86 of file object_list.hpp.

Referenced by IntVector().


The documentation for this struct was generated from the following files:
Modified on Mon Feb 26 04:00:40 2024 by modify_doxy.py rev. 669887