Marsyas  0.6.0-alpha
Functions
/usr/src/RPM/BUILD/marsyas-0.6.0/src/marsyas/expr/ExCommon.cpp File Reference
#include <marsyas/expr/ExCommon.h>

Go to the source code of this file.

Functions

unsigned int ex_string_to_typeid (std::string tp)
 convert a marsyas type name to Ex type number
std::string ex_typeid_to_string (unsigned int tp)
 convert an ex type id to a marsyas type string

Function Documentation

unsigned int ex_string_to_typeid ( std::string  tp)

convert a marsyas type name to Ex type number

Parameters:
tpa marsyas type string, ie "mrs_string"
Returns:
integer corresponding to the type as defined in the file ExCommon.h

Definition at line 6 of file ExCommon.cpp.

std::string ex_typeid_to_string ( unsigned int  tp)

convert an ex type id to a marsyas type string

Parameters:
tpex type id, see file ExCommon.h
Returns:
marsyas type name corresponding to the input parameter

Definition at line 19 of file ExCommon.cpp.