#include <vCollection.h>
Public Member Functions | |
BaseExt () | |
BaseExt (Base const &other) | |
BaseExt (BaseExt const &other) | |
virtual | ~BaseExt () |
virtual Base * | copy (void) const |
Returns an exact copy of this object. | |
virtual myCol | GetCol (void) const |
operator myCol () const |
Definition at line 65 of file vCollection.h.
vValue::Expr::Collection::BaseExt::BaseExt | ( | ) | [inline] |
Definition at line 67 of file vCollection.h.
Referenced by copy().
00067 :Base() {};
vValue::Expr::Collection::BaseExt::BaseExt | ( | Base const & | other | ) | [inline] |
vValue::Expr::Collection::BaseExt::BaseExt | ( | BaseExt const & | other | ) | [inline] |
virtual vValue::Expr::Collection::BaseExt::~BaseExt | ( | ) | [inline, virtual] |
virtual Base* vValue::Expr::Collection::BaseExt::copy | ( | void | ) | const [inline, virtual] |
Returns an exact copy of this object.
This should be overwritten in any derived class or they will mysteriously vanish if you use the tValue::Set container, for example
Reimplemented from vValue::Expr::Core::Base.
Reimplemented in vValue::Expr::Collection::ColNode, vValue::Expr::Collection::ColUnary, vValue::Expr::Collection::ColPickOne, vValue::Expr::Collection::ColBinary, vValue::Expr::Collection::ColUnion, vValue::Expr::Collection::ColIntersection, and vValue::Expr::Collection::ColDifference.
Definition at line 72 of file vCollection.h.
References BaseExt().
00072 {return new BaseExt();};
myCol vValue::Expr::Collection::BaseExt::GetCol | ( | void | ) | const [virtual] |
Convert the stored data into a collection.
Reimplemented in vValue::Expr::Collection::ColNode, vValue::Expr::Collection::ColUnary, and vValue::Expr::Collection::ColBinary.
Definition at line 35 of file vCollection.cpp.
Referenced by vValue::Expr::Collection::ColUnary::_operation(), vValue::Expr::Collection::getCol(), and operator myCol().
00035 { 00036 myCol col; 00037 BasePtr node(this->copy()); 00038 col.insert(node); 00039 return col; 00040 }
vValue::Expr::Collection::BaseExt::operator myCol | ( | ) | const [inline] |
Definition at line 77 of file vCollection.h.
References GetCol().
00077 { return GetCol(); }