MeVisLabToolboxReference
MeVisLab/Standard/Sources/ML/MLBase/mlDecomposeBaseList.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00006 
00012 //----------------------------------------------------------------------------------
00013 
00014 
00015 
00016 #ifndef __mlDecomposeBaseList_H
00017 #define __mlDecomposeBaseList_H
00018 
00019 
00020 // ML includes
00021 #ifndef __mlModuleIncludes_H
00022 #include "mlModuleIncludes.h"
00023 #endif
00024 #ifndef __mlEngine_H
00025 #include "mlEngine.h"
00026 #endif
00027 
00028 
00029 // Local includes
00030 #ifndef __mlBaseInit_H
00031 #include "mlBaseInit.h"
00032 #endif
00033 
00034 
00035 ML_START_NAMESPACE
00036 
00037 // fwd declaration
00038 class BaseList;
00039 
00040 // ------------------------------------------------------------------
00041 // Engine module DecomposeBaseList 
00042 // ------------------------------------------------------------------
00043 
00047 
00050 class MLBASEEXPORT DecomposeBaseList : public Engine
00051 {
00052 public:
00053     
00055     DecomposeBaseList ();
00056     
00058     ~DecomposeBaseList ();
00059     
00061     BoolField*      useIdFld;
00062     
00064     IntField*       idFld;
00065     
00067     BoolField*      useNameFld;
00068     
00070     BoolField*      useTypeFld;
00071     
00073     StringField*    nameFld;
00074     
00076     StringField*    typeFld;
00077     
00081     IntField*       posFld;   
00082     
00084     IntField*  outPosFld;
00085     
00087     BaseField* outputObjectFld;
00088     
00090     BaseField* outputRestListFld;
00091     
00093     BaseField* inputBaseListFld;
00094     
00096     IntField*  inputSizeFld;
00097     
00099     BoolField* inputValidFld;
00100     
00102     BoolField* objectFoundFld;
00103     
00105     BoolField* objectValidFld;
00106     
00108     IntField* noItemsFoundFld;
00109     
00111     void decomposeBaseList();
00112     
00113 protected:
00114     
00117     virtual void activateAttachments();
00118     
00120     virtual void handleNotification(Field* field);
00121     
00123     Base*     _outputObject;
00124     
00126     BaseList* _outputRestList;
00127     
00128     
00129 private:
00130     
00132 
00133     
00135     
00136     
00138     ML_MODULE_CLASS_HEADER(DecomposeBaseList);
00139     
00140 };
00141 
00142 
00143 ML_END_NAMESPACE
00144 
00145 
00146 #endif // __mlDecomposeBaseList_H
00147