#include <vCollection.h>


Public Member Functions | |
| ColDifference (BaseExt *r_value=new BaseExt, BaseExt *l_value=new BaseExt) | |
| ColDifference (BasePtr &r_value, BasePtr &l_value) | |
| ColDifference (const ColBinary &other) | |
| virtual | ~ColDifference () |
| Base * | copy (void) const |
| Returns an exact copy of this object. | |
Protected Member Functions | |
| myCol | _operation (void) const |
Definition at line 275 of file vCollection.h.
| vValue::Expr::Collection::ColDifference::ColDifference | ( | BaseExt * | r_value = new BaseExt, |
|
| BaseExt * | l_value = new BaseExt | |||
| ) | [inline] |
Definition at line 277 of file vCollection.h.
Referenced by copy().
00278 : 00279 ColBinary(r_value, l_value) 00280 { }; ColDifference(BasePtr &r_value,

| vValue::Expr::Collection::ColDifference::ColDifference | ( | BasePtr & | r_value, | |
| BasePtr & | l_value | |||
| ) | [inline] |
Definition at line 281 of file vCollection.h.
00282 : 00283 ColBinary(r_value, l_value) { }; ColDifference(const ColBinary &other) :
| vValue::Expr::Collection::ColDifference::ColDifference | ( | const ColBinary & | other | ) | [inline] |
Definition at line 284 of file vCollection.h.
00284 : 00285 ColBinary(other) { }; virtual ~ColDifference() { };
| virtual vValue::Expr::Collection::ColDifference::~ColDifference | ( | ) | [inline, virtual] |
| Base* vValue::Expr::Collection::ColDifference::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::Collection::ColBinary.
Definition at line 288 of file vCollection.h.
References ColDifference().
00288 { return new ColDifference(*this); };

| myCol vValue::Expr::Collection::ColDifference::_operation | ( | void | ) | const [protected, virtual] |
Reimplemented from vValue::Expr::Collection::ColBinary.
Definition at line 224 of file vCollection.cpp.
References a, b, vValue::Expr::Collection::getCol(), vValue::Expr::Collection::ColBinary::l_child, and vValue::Expr::Collection::ColBinary::r_child.
00224 { 00225 myCol res; 00226 myCol a = getCol(ColBinary::r_child); 00227 myCol b = getCol(ColBinary::l_child); 00228 00229 set_difference(a.begin(), 00230 a.end(), 00231 b.begin(), 00232 b.end(), 00233 inserter(res, res.begin()), 00234 FooPtrOps()); 00235 00236 return res; 00237 }

1.5.4