00001
00002
00003
00004
00005
00006
00007 #ifndef INCLUDE_Accessor_H
00008 #define INCLUDE_Accessor_H
00009
00010 #include "CSL_Types.h"
00011
00013
00014 #define CSL_INT_TYPE 1
00015 #define CSL_FLOAT_TYPE 2
00016 #define CSL_STRING_TYPE 3
00017
00018 namespace csl {
00019
00023 class Accessor {
00024 public:
00026 Accessor(string na, unsigned sel, unsigned typ) : mName(na), mSelector(sel), mType(typ) {};
00027
00028
00029 string mName;
00030 unsigned mSelector;
00031 unsigned mType;
00032
00033 };
00034
00038
00039 typedef vector<Accessor *> AccessorVector;
00040
00041 }
00042
00043 #endif
00044