00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __HOM_ParticleSelection_h__
00017 #define __HOM_ParticleSelection_h__
00018
00019 #include "HOM_API.h"
00020 #include "HOM_Defines.h"
00021 #include "HOM_Module.h"
00022 #include "HOM_Errors.h"
00023 #include <string>
00024 #include <vector>
00025
00026 class HOM_Node;
00027
00028 SWIGOUT(%rename(ParticleSelection) HOM_ParticleSelection;)
00029
00030 class HOM_API HOM_ParticleSelection
00031 {
00032 public:
00033 HOM_ParticleSelection()
00034 { HOM_CONSTRUCT_OBJECT(this) }
00035 HOM_ParticleSelection(const HOM_ParticleSelection &)
00036 { HOM_CONSTRUCT_OBJECT(this) }
00037 virtual ~HOM_ParticleSelection()
00038 { HOM_DESTRUCT_OBJECT(this) }
00039
00040 virtual std::string __repr__() throw(HOM_Error) = 0;
00041 virtual std::string __str__() throw(HOM_Error) = 0;
00042
00043 SWIGOUT(%newobject popNetwork;)
00044 virtual HOM_Node *popNetwork()
00045 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00046
00047 SWIGPYTHONOUT(%feature("autodoc",
00048 "popnodes(self) -> tuple of POP Nodes") popNodes;)
00049 virtual std::vector<HOM_ElemPtr<HOM_Node> > popNodes()
00050 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00051 };
00052
00053 #endif