libabigail
Public Member Functions | Public Attributes | List of all members
type_or_decl_base::priv Struct Reference

The private data of type_or_decl_base. More...

#include <abg-ir-priv.h>

Public Member Functions

 priv (const environment &e, enum type_or_decl_kind k=ABSTRACT_TYPE_OR_DECL)
 Constructor of the type_or_decl_base::priv private type. More...
 
void force_set_hash_value (hash_t h)
 Setter of the hashing value of the current IR node. More...
 
hashing::hashing_state get_hashing_state () const
 Getter the hashing state of the current IR node. More...
 
bool is_recursive_artefact () const
 Getter of the property which flags the current artefact as being recursive or not. More...
 
void is_recursive_artefact (bool f)
 Setter of the property which flags the current artefact as being recursive or not. More...
 
enum type_or_decl_kind kind () const
 Getter of the kind of the IR node. More...
 
void kind (enum type_or_decl_kind k)
 Setter of the kind of the IR node. More...
 
void set_hash_value (hash_t h)
 Setter of the hashing value of the current IR node. More...
 
void set_hashing_state (hashing::hashing_state s) const
 Setter of the hashing state of the current IR node. More...
 

Public Attributes

location artificial_location_
 
const environmentenv_
 
hash_t hash_value_
 
hashing::hashing_state hashing_state_
 
bool is_artificial_
 
bool is_recursive_artefact_
 
enum type_or_decl_kind kind_
 
void * rtti_
 
translation_unittranslation_unit_
 
void * type_or_decl_ptr_
 

Detailed Description

The private data of type_or_decl_base.

Definition at line 187 of file abg-ir-priv.h.

Constructor & Destructor Documentation

priv ( const environment e,
enum type_or_decl_kind  k = ABSTRACT_TYPE_OR_DECL 
)
inline

Constructor of the type_or_decl_base::priv private type.

Parameters
ethe environment in which the ABI artifact was created.
kthe identifier of the runtime type of the current instance of ABI artifact.

Definition at line 227 of file abg-ir-priv.h.

Member Function Documentation

void force_set_hash_value ( hash_t  h)
inline

Setter of the hashing value of the current IR node.

Unlike set_hash_value above, this function always sets a new hash value regardless of the hash value or of the hashing state of the IR node.

Parameters
hthe new hash value.

Definition at line 317 of file abg-ir-priv.h.

hashing::hashing_state get_hashing_state ( ) const
inline

Getter the hashing state of the current IR node.

Returns
the hashing state of the current IR node.

Definition at line 257 of file abg-ir-priv.h.

bool is_recursive_artefact ( ) const
inline

Getter of the property which flags the current artefact as being recursive or not.

Returns
true iff the current artefact it recursive.

Definition at line 265 of file abg-ir-priv.h.

void is_recursive_artefact ( bool  f)
inline

Setter of the property which flags the current artefact as being recursive or not.

Parameters
fthe new value of the property.

Definition at line 273 of file abg-ir-priv.h.

enum type_or_decl_kind kind ( ) const
inline

Getter of the kind of the IR node.

Returns
the kind of the IR node.

Definition at line 243 of file abg-ir-priv.h.

void kind ( enum type_or_decl_kind  k)
inline

Setter of the kind of the IR node.

Parameters
kthe new IR node kind.

Definition at line 250 of file abg-ir-priv.h.

void set_hash_value ( hash_t  h)
inline

Setter of the hashing value of the current IR node.

An empty value is just ignored. Also, if the IR node is NEITHER in the hashing::HASHING_NOT_DONE_STATE nor in the hashing::HASHING_CYCLED_TYPE_STATE, then the function does nothing.

Parameters
hthe new hash value.

Definition at line 292 of file abg-ir-priv.h.

void set_hashing_state ( hashing::hashing_state  s) const
inline

Setter of the hashing state of the current IR node.

Parameters
sthe hashing state of the current IR node.

Definition at line 280 of file abg-ir-priv.h.


The documentation for this struct was generated from the following file: