IOSS 2.0
Loading...
Searching...
No Matches
anonymous_namespace{Ioss_Utils.C} Namespace Reference

Functions

bool is_separator (const char separator, const char value)
 
size_t match (const char *name1, const char *name2)
 
size_t match (const std::string &name1, const std::string &name2)
 
Ioss::NameList field_tokenize (const std::string &str, const char separator)
 
const Ioss::VariableTypematch_composite_field (Ioss::NameList &names, Ioss::IntVector &which_names, const char suffix_separator)
 
const Ioss::VariableTypematch_single_field (Ioss::NameList &names, Ioss::IntVector &which_names, const char suffix_separator, bool ignore_realn_fields)
 
Ioss::Field get_next_field (Ioss::NameList &names, size_t count, Ioss::Field::RoleType fld_role, const char suffix_separator, const int *truth_table, bool ignore_realn_fields)
 
bool define_field (size_t nmatch, size_t match_length, Ioss::NameList &names, size_t index, std::vector< Ioss::Suffix > &suffices, size_t entity_count, Ioss::Field::RoleType fld_role, std::vector< Ioss::Field > &fields, bool strip_trailing_, bool ignore_realn_fields, char suffix_separator)
 
std::string two_letter_hash (const char *symbol)
 Hash function from Aho, Sethi, Ullman "Compilers: Principles, Techniques, and Tools. Page 436.
 

Variables

auto initial_time = std::chrono::steady_clock::now()
 
const int tab64 [64]
 

Function Documentation

◆ define_field()

bool anonymous_namespace{Ioss_Utils.C}::define_field ( size_t nmatch,
size_t match_length,
Ioss::NameList & names,
size_t index,
std::vector< Ioss::Suffix > & suffices,
size_t entity_count,
Ioss::Field::RoleType fld_role,
std::vector< Ioss::Field > & fields,
bool strip_trailing_,
bool ignore_realn_fields,
char suffix_separator )

◆ field_tokenize()

Ioss::NameList anonymous_namespace{Ioss_Utils.C}::field_tokenize ( const std::string & str,
const char separator )

◆ get_next_field()

Ioss::Field anonymous_namespace{Ioss_Utils.C}::get_next_field ( Ioss::NameList & names,
size_t count,
Ioss::Field::RoleType fld_role,
const char suffix_separator,
const int * truth_table,
bool ignore_realn_fields )

◆ is_separator()

bool anonymous_namespace{Ioss_Utils.C}::is_separator ( const char separator,
const char value )

◆ match() [1/2]

size_t anonymous_namespace{Ioss_Utils.C}::match ( const char * name1,
const char * name2 )

◆ match() [2/2]

size_t anonymous_namespace{Ioss_Utils.C}::match ( const std::string & name1,
const std::string & name2 )

◆ match_composite_field()

const Ioss::VariableType * anonymous_namespace{Ioss_Utils.C}::match_composite_field ( Ioss::NameList & names,
Ioss::IntVector & which_names,
const char suffix_separator )

◆ match_single_field()

const Ioss::VariableType * anonymous_namespace{Ioss_Utils.C}::match_single_field ( Ioss::NameList & names,
Ioss::IntVector & which_names,
const char suffix_separator,
bool ignore_realn_fields )

◆ two_letter_hash()

std::string anonymous_namespace{Ioss_Utils.C}::two_letter_hash ( const char * symbol)

Hash function from Aho, Sethi, Ullman "Compilers: Principles, Techniques, and Tools. Page 436.

Variable Documentation

◆ initial_time

auto anonymous_namespace{Ioss_Utils.C}::initial_time = std::chrono::steady_clock::now()

◆ tab64

const int anonymous_namespace{Ioss_Utils.C}::tab64[64]
Initial value:
= {63, 0, 58, 1, 59, 47, 53, 2, 60, 39, 48, 27, 54, 33, 42, 3,
61, 51, 37, 40, 49, 18, 28, 20, 55, 30, 34, 11, 43, 14, 22, 4,
62, 57, 46, 52, 38, 26, 32, 41, 50, 36, 17, 19, 29, 10, 13, 21,
56, 45, 25, 31, 35, 16, 9, 12, 44, 24, 15, 8, 23, 7, 6, 5}