vValue::Expr::Collection::BaseExt Class Reference

#include <vCollection.h>

Inheritance diagram for vValue::Expr::Collection::BaseExt:

Inheritance graph
[legend]
Collaboration diagram for vValue::Expr::Collection::BaseExt:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BaseExt ()
 BaseExt (Base const &other)
 BaseExt (BaseExt const &other)
virtual ~BaseExt ()
virtual Basecopy (void) const
 Returns an exact copy of this object.
virtual myCol GetCol (void) const
 operator myCol () const


Detailed Description

Definition at line 65 of file vCollection.h.


Constructor & Destructor Documentation

vValue::Expr::Collection::BaseExt::BaseExt (  )  [inline]

Definition at line 67 of file vCollection.h.

Referenced by copy().

00067 :Base() {};

Here is the caller graph for this function:

vValue::Expr::Collection::BaseExt::BaseExt ( Base const &  other  )  [inline]

Definition at line 68 of file vCollection.h.

00068 : Base(other) {};

vValue::Expr::Collection::BaseExt::BaseExt ( BaseExt const &  other  )  [inline]

Definition at line 69 of file vCollection.h.

00069 : Base(other) {};

virtual vValue::Expr::Collection::BaseExt::~BaseExt (  )  [inline, virtual]

Definition at line 70 of file vCollection.h.

00070 { };


Member Function Documentation

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

Returns:
a pointer to the newly created copy

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();};

Here is the call graph for this function:

myCol vValue::Expr::Collection::BaseExt::GetCol ( void   )  const [virtual]

Convert the stored data into a collection.

Returns:
a collection of at least 1.

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 }

Here is the caller graph for this function:

vValue::Expr::Collection::BaseExt::operator myCol (  )  const [inline]

Definition at line 77 of file vCollection.h.

References GetCol().

00077 { return GetCol(); }

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:05:36 2008 for Armagetron Advanced by  doxygen 1.5.4