|
inlib
1.2.0
|


Public Member Functions | |
| virtual void * | cast (const std::string &a_class) const |
| aida (std::ostream &a_out, const std::string &a_title) | |
| virtual | ~aida () |
| aida (const aida &a_from) | |
| aida & | operator= (const aida &a_from) |
| template<class T > | |
| aida_col< T > * | create_col (const std::string &a_name, const T &a_def=T()) |
| template<class T > | |
| aida_col< T > * | find_column (const std::string &a_name) |
Static Public Member Functions | |
| static const std::string & | s_class () |
| inlib::ntu::aida::aida | ( | std::ostream & | a_out, |
| const std::string & | a_title | ||
| ) | [inline] |
| inlib::ntu::aida::aida | ( | const aida & | a_from | ) | [inline] |
| virtual void* inlib::ntu::aida::cast | ( | const std::string & | a_class | ) | const [inline, virtual] |
Reimplemented from inlib::ntu::base_ntu.
Definition at line 139 of file aida.
{
if(void* p = cmp_cast<aida>(this,a_class)) {return p;}
else return base_ntu::cast(a_class);
}
| aida_col<T>* inlib::ntu::aida::create_col | ( | const std::string & | a_name, |
| const T & | a_def = T() |
||
| ) | [inline] |
Definition at line 156 of file aida.
{
if(find_named<base_col>(m_cols,a_name)) {
m_out << s_class() << "::create_col :"
<< " a column with name " << sout(a_name) << " already exists."
<< std::endl;
return 0;
}
aida_col<T>* col = new aida_col<T>(m_out,a_name,a_def);
if(!col) {
m_out << s_class() << "::create_col :"
<< " can't create aida_col<T> " << sout(a_name) << "."
<< std::endl;
return 0;
}
m_cols.push_back(col);
return col;
}
| aida_col<T>* inlib::ntu::aida::find_column | ( | const std::string & | a_name | ) | [inline] |
Reimplemented from inlib::ntu::base_ntu.
Definition at line 176 of file aida.
{
base_col* col = find_named<base_col>(m_cols,a_name);
if(!col) return 0;
return inlib::cast<base_col, aida_col<T> >(*col);
}
Definition at line 150 of file aida.
{
base_ntu::operator=(a_from);
return *this;
}
| static const std::string& inlib::ntu::aida::s_class | ( | ) | [inline, static] |
Reimplemented from inlib::ntu::base_ntu.
Definition at line 135 of file aida.
{
static const std::string s_v("inlib::ntu::aida");
return s_v;
}
1.7.5.1