Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

TableColumn.h

Go to the documentation of this file.
00001 #ifndef MediaTable_TableColumn_h
00002 #define MediaTable_TableColumn_h
00003 
00004 namespace Impala {
00005 namespace Application {
00006 namespace MediaTable {
00007 
00008 class TableColumn
00009 {
00010 public:
00011 
00012         TableColumn() {}
00013 
00014     TableColumn(std::string name, int type, bool isExtra=false, int width=120, int visparam=0)
00015     {
00016         mColumnName = name;
00017         mWidth      = width;
00018         mType       = type;
00019         mVisParam   = visparam;
00020         mIsExtra        = isExtra;
00021     }
00022 
00023         std::string GetName()
00024     {
00025         return mColumnName;
00026     }
00027 
00028     int GetType()
00029     {
00030         return mType;
00031     }
00032 
00033     int GetVisParam()
00034     {
00035         return mVisParam;
00036     }
00037 
00038     int GetWidth()
00039     {
00040         return mWidth;
00041     }
00042 
00043     bool GetIsExtra() {
00044         return mIsExtra;
00045     }
00046 
00047 private:
00048 
00049         std::string mColumnName;
00050     int         mType;
00051     int         mVisParam;
00052     int         mWidth;
00053 
00054     bool                mIsExtra;
00055 
00056     ILOG_VAR_DEC;
00057 
00058 };
00059 
00060 ILOG_VAR_INIT(TableColumn, Application.MediaTable);
00061 
00062 } // namespace MediaTable
00063 } // namespace Application
00064 } // namespace Impala
00065 
00066 #endif // TableColumn_h

Generated on Fri Mar 19 09:30:34 2010 for ImpalaSrc by  doxygen 1.5.1