SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
TypeDescription Class Reference

#include <TypeDescription.h>

Classes

struct  Register
 

Public Types

enum  category_e {
  DATA_E, BASIS_E, MESH_E, CONTAINER_E,
  FIELD_E, OTHER_E
}
 
typedef std::vector< const
TypeDescription * > 
td_vec
 

Public Member Functions

 TypeDescription (const std::string &name, const std::string &path, const std::string &namesp, category_e c=OTHER_E)
 
 TypeDescription (const std::string &name, td_vec *sub, const std::string &path, const std::string &namesp, category_e c=OTHER_E)
 
 ~TypeDescription ()
 
td_vecget_sub_type () const
 
std::string get_name (const std::string &type_sep_start="<", const std::string &type_sep_end="> ") const
 
std::string get_similar_name (const std::string &substitute, const int pos, const std::string &type_sep_start="<", const std::string &type_sep_end="> ") const
 
std::string get_filename () const
 
std::string get_h_file_path () const
 
std::string get_namespace () const
 

Static Public Member Functions

static std::string cc_to_h (const std::string &dot_cc)
 convert a string that ends in .cc to end in .h More...
 
static std::string strip_absolute_path (const std::string &path)
 
static const TypeDescriptionlookup_type (const std::string &)
 

Member Typedef Documentation

typedef std::vector<const TypeDescription*> td_vec

Member Enumeration Documentation

enum category_e
Enumerator
DATA_E 
BASIS_E 
MESH_E 
CONTAINER_E 
FIELD_E 
OTHER_E 

Constructor & Destructor Documentation

TypeDescription ( const std::string &  name,
const std::string &  path,
const std::string &  namesp,
category_e  c = OTHER_E 
)
TypeDescription ( const std::string &  name,
td_vec sub,
const std::string &  path,
const std::string &  namesp,
category_e  c = OTHER_E 
)

Member Function Documentation

std::string cc_to_h ( const std::string &  dot_cc)
static

convert a string that ends in .cc to end in .h

std::string get_filename ( ) const
std::string get_h_file_path ( ) const
inline
std::string get_name ( const std::string &  type_sep_start = "<",
const std::string &  type_sep_end = "> " 
) const

The arguments determine how the templated types are separated. default is "<" and "> "

std::string get_namespace ( ) const
inline
std::string get_similar_name ( const std::string &  substitute,
const int  pos,
const std::string &  type_sep_start = "<",
const std::string &  type_sep_end = "> " 
) const
td_vec* get_sub_type ( ) const
inline
const TypeDescription * lookup_type ( const std::string &  t)
static
std::string strip_absolute_path ( const std::string &  path)
static

The documentation for this class was generated from the following files: