OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ir_a2b Namespace Reference

Classes

struct  enum2str_tbl_entry_t
 
struct  flag2str_tbl_entry_t
 
struct  flag_key_t
 

Functions

template<typename ENUM_TBL_ENTRY_T >
void CheckEnumTable (const char *tablenm, const ENUM_TBL_ENTRY_T *table, INT tablesz)
 
template<typename FLG_TBL_ENTRY_T >
void CheckFlagTable (const char *tablenm, const FLG_TBL_ENTRY_T *table, INT tablesz)
 
template<typename ENUM_TBL_ENTRY_T , const ENUM_TBL_ENTRY_T * table, INT tablesz>
const char * MapEnumToStr (const char *tablenm, INT val)
 
template<typename ENUM_TBL_ENTRY_T , const ENUM_TBL_ENTRY_T * table, INT tablesz>
INT MapStrToEnum (const char *tablenm, const char *str)
 
template<typename FLAG_TBL_ENTRY_T , const FLAG_TBL_ENTRY_T * table, INT tablesz>
const char * MapFlagsToStr (const char *tablenm, UINT64 flags)
 
template<typename FLAG_TBL_ENTRY_T , const FLAG_TBL_ENTRY_T * table, INT tablesz>
UINT64 MapStrToFlags (const char *tablenm, const char *str)
 

Function Documentation

template<typename ENUM_TBL_ENTRY_T >
void ir_a2b::CheckEnumTable ( const char *  tablenm,
const ENUM_TBL_ENTRY_T *  table,
INT  tablesz 
)

Definition at line 173 of file ir_a2b_util.h.

References Fail_FmtAssertion(), and val.

Referenced by MapEnumToStr(), and MapStrToEnum().

Here is the call graph for this function:

template<typename FLG_TBL_ENTRY_T >
void ir_a2b::CheckFlagTable ( const char *  tablenm,
const FLG_TBL_ENTRY_T *  table,
INT  tablesz 
)

Definition at line 193 of file ir_a2b_util.h.

References Fail_FmtAssertion(), and val.

Referenced by MapFlagsToStr(), and MapStrToFlags().

Here is the call graph for this function:

template<typename ENUM_TBL_ENTRY_T , const ENUM_TBL_ENTRY_T * table, INT tablesz>
const char* ir_a2b::MapEnumToStr ( const char *  tablenm,
INT  val 
)
template<typename FLAG_TBL_ENTRY_T , const FLAG_TBL_ENTRY_T * table, INT tablesz>
const char* ir_a2b::MapFlagsToStr ( const char *  tablenm,
UINT64  flags 
)
template<typename ENUM_TBL_ENTRY_T , const ENUM_TBL_ENTRY_T * table, INT tablesz>
INT ir_a2b::MapStrToEnum ( const char *  tablenm,
const char *  str 
)
template<typename FLAG_TBL_ENTRY_T , const FLAG_TBL_ENTRY_T * table, INT tablesz>
UINT64 ir_a2b::MapStrToFlags ( const char *  tablenm,
const char *  str 
)