Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

_scv_ext_type.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  _scv_extension_type_enum
class  scv_extension_type
class  scv_extension_type< T * >
class  scv_extension_type< T[N]>

Defines

#define _SCV_EXT_TYPE_FC_D(type_name, type_id)
#define _SCV_EXT_TYPE_1_FC_D(type_name, type_id)   _SCV_EXT_TYPE_FC_D(type_name,type_id) \
#define _SCV_EXT_TYPE_N_FC_D(type_name, id)
#define _SCV_EXT_TYPE_D_FC_D(type_name, type_id)
#define _SCV_INTROSPECTION_BASE   scv_extension_type<T>
#define _SCV_INTROSPECTION_BASE1   scv_extension_type<T*>
#define _SCV_INTROSPECTION_BASE2   scv_extension_type<T[N]>
#define _SCV_INTROSPECTION_BASE_ENUM   _scv_extension_type_enum

Functions

 _SCV_EXT_TYPE_FC_D (bool, bool)
 _SCV_EXT_TYPE_FC_D (char, char)
 _SCV_EXT_TYPE_FC_D (short, short)
 _SCV_EXT_TYPE_FC_D (int, int)
 _SCV_EXT_TYPE_FC_D (long, long)
 _SCV_EXT_TYPE_FC_D (unsigned char, unsigned_char)
 _SCV_EXT_TYPE_FC_D (float, float)
 _SCV_EXT_TYPE_FC_D (double, double)


Define Documentation

#define _SCV_EXT_TYPE_1_FC_D type_name,
type_id       _SCV_EXT_TYPE_FC_D(type_name,type_id) \
 

Definition at line 241 of file _scv_ext_type.h.

#define _SCV_EXT_TYPE_D_FC_D type_name,
type_id   
 

Definition at line 278 of file _scv_ext_type.h.

#define _SCV_EXT_TYPE_FC_D type_name,
type_id   
 

Definition at line 206 of file _scv_ext_type.h.

#define _SCV_EXT_TYPE_N_FC_D type_name,
id   
 

Value:

template<int N> \
class scv_extension_type<type_name > \
 : public scv_extension_util<type_name > { \
public:  \
  scv_extension_type() {} \
  virtual ~scv_extension_type() {} \
         \
  virtual int get_enum_size() const { return 0; } \
  virtual void get_enum_details(list<const char *>&, list<int>&) const {} \
  virtual const char * get_enum_string(int) const { return "_error"; } \
  virtual int get_num_fields() const { return 0; } \
  virtual scv_extensions_if * get_field(unsigned) { return 0; } \
  virtual const scv_extensions_if * get_field(unsigned) const { return 0; } \
  virtual scv_extensions_if * get_pointer() { return 0; } \
  virtual const scv_extensions_if * get_pointer() const { return 0; } \
  virtual int get_array_size() const { return 0; } \
  virtual scv_extensions_if * get_array_elt(int) { return 0; } \
  virtual const scv_extensions_if * get_array_elt(int) const { return 0; } \
  virtual scv_extensions_if * get_parent() { return this->_parent; } \
  virtual const scv_extensions_if * get_parent() const { return this->_parent; } \
        \
  virtual const char* get_type_name() const { \
    static const char* s = _scv_ext_util_get_name("%s<%d>",#type_name, N); \
    return s; \
  } \
  virtual scv_extension_type_if::data_type get_type() const { \
    return scv_extensions_if::id; \
  } \
  virtual int get_bitwidth() const { return N; } \
}; \

Definition at line 245 of file _scv_ext_type.h.

#define _SCV_INTROSPECTION_BASE   scv_extension_type<T>
 

Definition at line 361 of file _scv_ext_type.h.

#define _SCV_INTROSPECTION_BASE1   scv_extension_type<T*>
 

Definition at line 363 of file _scv_ext_type.h.

#define _SCV_INTROSPECTION_BASE2   scv_extension_type<T[N]>
 

Definition at line 365 of file _scv_ext_type.h.

#define _SCV_INTROSPECTION_BASE_ENUM   _scv_extension_type_enum
 

Definition at line 368 of file _scv_ext_type.h.


Function Documentation

_SCV_EXT_TYPE_FC_D double   ,
double   
 

_SCV_EXT_TYPE_FC_D float   ,
float   
 

_SCV_EXT_TYPE_FC_D unsigned    char,
unsigned_char   
 

_SCV_EXT_TYPE_FC_D long   ,
long   
 

_SCV_EXT_TYPE_FC_D int   ,
int   
 

_SCV_EXT_TYPE_FC_D short   ,
short   
 

_SCV_EXT_TYPE_FC_D char   ,
char   
 

_SCV_EXT_TYPE_FC_D bool   ,
bool   
 


Generated on Fri Jan 14 08:29:17 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18