2 #include "classdef-table.h" 8 inline void ClassdefTable::LayerItem::swap(ClassdefTable::LayerItem& rhs) {
9 std::swap(atomid, rhs.atomid);
10 std::swap(flags, rhs.flags);
11 std::swap(storage, rhs.storage);
12 std::swap(count, rhs.count);
17 return (clid.
atomid() == m_layer.atomid)
18 ? (clid.
lvid() < m_layer.count and m_layer.flags[clid.
lvid()])
19 : (0 != m_classdefs.count(clid));
47 return m_layer.atomid;
uint32_t atomid() const
Get the atom id of the clid.
Definition: clid.hxx:64
CLID clid
Classdef ID.
Definition: classdef.h:132
Class definition.
Definition: classdef.h:24
Function definition.
Definition: funcdef.h:15
Funcdef & addClassdefInterfaceSelf(const CLID &, const AnyString &name)
Get or create an interface from its name for a given CLID.
Definition: classdef-table.cpp:137
bool hasClassdef(const CLID &) const
Get if a clid is available.
Definition: classdef-table.hxx:16
uint32_t substituteAtomID() const
Get the atom id of the current layer.
Definition: classdef-table.hxx:46
Funcdef & addClassdefInterface(const CLID &, const AnyString &name)
Get or create an interface from its name for a given CLID.
Definition: classdef-table.cpp:127
uint32_t lvid() const
Get the lvid part.
Definition: clid.hxx:69
Classdef & classdef(const CLID &)
Retrieve or create a classdef from its ID.
Definition: classdef-table.cpp:45