|
nany
|
Public Member Functions | |
Constructor & Destructor | |
| ClassdefTable () | |
| Default constructor. | |
| ClassdefTable (const ClassdefTable &)=delete | |
| Copy constructor. | |
| ClassdefTable (ClassdefTable &&)=default | |
| Move constructor. | |
| ~ClassdefTable ()=default | |
| Destructor. | |
Classdef | |
| bool | hasClassdef (const CLID &) const |
| Get if a clid is available. | |
| Classdef & | classdef (const CLID &) |
| Retrieve or create a classdef from its ID. | |
| const Classdef & | classdef (const CLID &) const |
| Retrieve a classdef from its ID (or from the current layer) | |
| const Classdef & | rawclassdef (const CLID &) const |
| Retrieve a classdef from its ID without using the current layer. | |
| Classdef & | rawclassdef (const CLID &) |
| const Classdef & | classdefFollowClassMember (const CLID &) const |
| Retrieve the real classdef from its ID (or from the current layer) even if a class member. | |
| Funcdef & | addClassdefInterface (const CLID &, const AnyString &name) |
| Get or create an interface from its name for a given CLID. More... | |
| Funcdef & | addClassdefInterface (const Classdef &, const AnyString &name) |
| Get or create an interface from its name for a given classdef. | |
| Funcdef & | addClassdefInterfaceSelf (const CLID &, const AnyString &name) |
| Get or create an interface from its name for a given CLID. More... | |
| Funcdef & | addClassdefInterfaceSelf (const Classdef &, const AnyString &name) |
| Get or create an interface from its name for a given classdef. | |
| Funcdef & | addClassdefInterfaceSelf (const CLID &) |
| Get or create an interface from its name for a given CLID. More... | |
| Funcdef & | addClassdefInterfaceSelf (const Classdef &) |
| Get or create an interface from its name for a given classdef. | |
| bool | makeHardlink (const CLID &source, const CLID &target) |
| Make a target class ID share the same definition than a source class ID. More... | |
| void | bulkCreate (std::vector< CLID > &out, uint32_t atomid, uint32_t count) |
| Bulk create several class id. | |
| void | bulkAppend (uint32_t atomid, uint32_t offset, uint32_t count) |
| Bulk append class id. | |
| void | registerAtom (Atom &atom) |
| Register an Atom (created from blueprints) | |
Utilities | |
| AnyString | keyword (const Atom &) const |
| Get the keyword associated to an atom (class, func, var, cref, namespace...) More... | |
| Atom * | findClassdefAtom (const Classdef &) const |
| Find the atom of a classdef, via its extends if necessary. | |
| Atom * | findRawClassdefAtom (const Classdef &) const |
| Find the atom of a classdef, via its extends if necessary. | |
Substitutes | |
| bool | hasSubstitute (CLID) const |
| Get if the current layer has a substitute for a given CLID. | |
| Classdef & | substitute (uint32_t) const |
| Get the substiture for the current atomid in the current layer. | |
| Classdef & | addSubstitute (nytype_t kind, Atom *atom, const Qualifiers &) const |
| Append a new substitute. | |
| uint32_t | substituteAtomID () const |
| Get the atom id of the current layer. | |
| void | substituteResize (uint32_t count) |
| Resize the substitutes for the current layer. | |
| void | mergeSubstitutes () |
| Make substitutes permanent. | |
Operators | |
| ClassdefTable & | operator= (const ClassdefTable &)=delete |
| No assignment operator. | |
Public Attributes | |
| StringRefs | stringrefs |
| String dictionary. | |
| AtomMap | atoms |
| Atom map. | |
Friends | |
| struct | ClassdefTableView |
Get or create an interface from its name for a given CLID.
Get or create an interface from its name for a given CLID.
Get or create an interface from its name for a given CLID.
| AnyString ny::ClassdefTable::keyword | ( | const Atom & | atom | ) | const |
Get the keyword associated to an atom (class, func, var, cref, namespace...)
Make a target class ID share the same definition than a source class ID.
1.8.12