#include <boost/regex.hpp>
#include <boost/lexical_cast.hpp>
Go to the source code of this file.
Namespaces | |
namespace | ost |
namespace | ost::info |
namespace | ost::info::detail |
Defines | |
#define | ITEM_TYPE_CAST_EVAL(INTYPE) |
Functions | |
void | SetInfoItemNewType (EleImpl &item, int new_type) |
void | SetInfoItemNewType (EleImpl &item, Type new_type) |
#define ITEM_TYPE_CAST_EVAL | ( | INTYPE | ) |
if(new_type==IT_STRING) { \ set_new_type< INTYPE ,IT_STRING>(item); \ } else if(new_type==IT_INT) { \ set_new_type< INTYPE ,IT_INT>(item); \ } else if(new_type==IT_FLOAT) { \ set_new_type< INTYPE ,IT_FLOAT>(item); \ } else if(new_type==IT_BOOL) { \ set_new_type< INTYPE ,IT_BOOL>(item); \ } else if(new_type==IT_VECTOR) { \ set_new_type< INTYPE ,IT_VECTOR>(item); \ }
Definition at line 266 of file item_type_cast.hh.