00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Written (W) 2012 Fernando José Iglesias García 00008 * Copyright (C) 2012 Fernando José Iglesias García 00009 */ 00010 00011 #ifndef _STRUCTURED_DATA_TYPES__H__ 00012 #define _STRUCTURED_DATA_TYPES__H__ 00013 00014 namespace shogun { 00015 00017 enum EStructuredDataType 00018 { 00019 SDT_UNKNOWN = 0, 00020 SDT_REAL = 1, 00021 SDT_SEQUENCE = 2, 00022 }; 00023 00024 #define STRUCTURED_DATA_TYPE(SDT) \ 00025 \ 00029 virtual EStructuredDataType get_structured_data_type() const { return SDT; } 00030 } 00031 00032 #endif /* _STRUCTURED_DATA_TYPES__H__ */