stage/include/ost/info/item_type_cast.hh File Reference

#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 Documentation

#define ITEM_TYPE_CAST_EVAL ( INTYPE   ) 
Value:
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.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 6 Dec 2017 for OpenStructure by  doxygen 1.6.1