Accessor.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef INCLUDE_Accessor_H
00009 #define INCLUDE_Accessor_H
00010
00012
00013 #define CSL_INT_TYPE 1
00014 #define CSL_FLOAT_TYPE 2
00015 #define CSL_STRING_TYPE 3
00016
00017 namespace csl {
00018
00022 class Accessor {
00023 public:
00025 Accessor(string na, unsigned sel, unsigned typ) : mName(na), mSelector(sel), mType(typ) { };
00026
00027
00028 string mName;
00029 unsigned mSelector;
00030 unsigned mType;
00031
00032 };
00033
00037
00038 typedef vector<Accessor *> AccessorVector;
00039
00040 }
00041
00042 #endif