#include <Type.h>
Public Member Functions | |
| SYMTAB_EXPORT | Field () |
| SYMTAB_EXPORT | Field (std::string name, Type *typ, int offsetVal=-1, visibility_t vis=visUnknown) |
| SYMTAB_EXPORT | Field (Field &f) |
| SYMTAB_EXPORT | ~Field () |
| SYMTAB_EXPORT std::string & | getName () |
| SYMTAB_EXPORT Type * | getType () |
| SYMTAB_EXPORT visibility_t | getVisibility () |
| SYMTAB_EXPORT unsigned int | getSize () |
| SYMTAB_EXPORT int | getOffset () |
| SYMTAB_EXPORT void | fixupUnknown (Module *) |
| SYMTAB_EXPORT Serializable * | serialize_impl (SerializerBase *sb, const char *tag="Field") THROW_SPEC(SerializerError) |
| virtual SYMTAB_EXPORT bool | operator== (const Field &) const |
Protected Member Functions | |
| void | copy (Field &) |
Private Attributes | |
| std::string | fieldName_ |
| Type * | type_ |
| visibility_t | vis_ |
| int | offset_ |
Friends | |
| class | typeStruct |
| class | typeUnion |
| class | typeCommon |
| class | CBlock |
Definition at line 105 of file Type.h.
| Field::Field | ( | std::string | name, | |
| Type * | typ, | |||
| int | offsetVal = -1, |
|||
| visibility_t | vis = visUnknown | |||
| ) |
Definition at line 1702 of file Type.C.
References Dyninst::SymtabAPI::Type::incrRefCount().
| Field::Field | ( | Field & | f | ) |
Definition at line 1738 of file Type.C.
References fieldName_, FILE__, fprintf, Dyninst::SymtabAPI::Type::incrRefCount(), offset_, type_, and vis_.
| Field::~Field | ( | ) |
Definition at line 1752 of file Type.C.
References Dyninst::SymtabAPI::Type::decrRefCount(), and type_.
| void Dyninst::SymtabAPI::Field::copy | ( | Field & | ) | [protected] |
| void Field::fixupUnknown | ( | Module * | module | ) |
Definition at line 1758 of file Type.C.
References Dyninst::SymtabAPI::dataUnknownType, Dyninst::SymtabAPI::Type::decrRefCount(), Dyninst::SymtabAPI::typeCollection::findType(), Dyninst::SymtabAPI::Type::getDataClass(), Dyninst::SymtabAPI::Type::getID(), Dyninst::SymtabAPI::typeCollection::getModTypeCollection(), Dyninst::SymtabAPI::Type::incrRefCount(), and type_.
| std::string & Field::getName | ( | ) |
Definition at line 1713 of file Type.C.
References fieldName_.
Referenced by Dyninst::SymtabAPI::fieldListType::fixupComponents().
| unsigned int Field::getSize | ( | ) |
Definition at line 1733 of file Type.C.
References Dyninst::SymtabAPI::Type::getSize(), and type_.
Referenced by Dyninst::SymtabAPI::fieldListType::addField().
| Type * Field::getType | ( | ) |
Definition at line 1718 of file Type.C.
References type_.
Referenced by Dyninst::SymtabAPI::fieldListType::fixupComponents(), Dyninst::SymtabAPI::typeUnion::isCompatible(), and Dyninst::SymtabAPI::typeStruct::isCompatible().
| visibility_t Field::getVisibility | ( | ) |
Definition at line 1723 of file Type.C.
References vis_.
Referenced by Dyninst::SymtabAPI::fieldListType::fixupComponents().
| bool Field::operator== | ( | const Field & | f | ) | const [virtual] |
Definition at line 1771 of file Type.C.
References fieldName_, Dyninst::SymtabAPI::Type::getID(), offset_, type_, and vis_.
| Serializable * Field::serialize_impl | ( | SerializerBase * | sb, | |
| const char * | tag = "Field" | |||
| ) |
friend class typeCommon [friend] |
friend class typeStruct [friend] |
std::string Dyninst::SymtabAPI::Field::fieldName_ [private] |
Definition at line 112 of file Type.h.
Referenced by Field(), getName(), and operator==().
int Dyninst::SymtabAPI::Field::offset_ [private] |
Definition at line 115 of file Type.h.
Referenced by Field(), getOffset(), and operator==().
Type* Dyninst::SymtabAPI::Field::type_ [private] |
Definition at line 113 of file Type.h.
Referenced by Field(), fixupUnknown(), getSize(), getType(), operator==(), and ~Field().
visibility_t Dyninst::SymtabAPI::Field::vis_ [private] |
Definition at line 114 of file Type.h.
Referenced by Field(), getVisibility(), and operator==().
1.6.1