7 #ifndef __data_Layout_h__ 8 #define __data_Layout_h__ 16 class FE_DL_EXPORT Layout:
public Component,
public CastableAs<Layout>
19 Layout(
void) : Component() {}
20 virtual ~Layout(
void);
22 virtual void initialize(
void) {}
25 virtual void populate(
const String &attribute_name) = 0;
27 virtual void populate(
const String &attribute_name,
28 const String &attribute_type) = 0;
32 virtual void populate(
const BaseAccessor &accessor) = 0;
34 virtual void populate(sp<Attribute> spAttribute) = 0;
36 virtual void setName(
const String &name) = 0;
37 virtual const String& name(
void)
const = 0;
38 virtual const String verboseName(
void)
const = 0;
40 virtual void setConstruct(
bool construct) = 0;
41 virtual const bool &construct(
void)
const = 0;
43 virtual hp<Scope>& scope(
void) = 0;
46 virtual void peek(Peeker &peeker) = 0;
48 virtual FE_UWORD attributeCount(
void)
const = 0;
49 virtual sp<Attribute> attribute(FE_UWORD localIndex) = 0;
51 virtual bool checkAttribute(FE_UWORD a_locator)
const = 0;
52 virtual bool checkAttributeStr(
const String &a_name) = 0;
53 virtual void resizeLocatorTable(FE_UWORD a_size) = 0;
55 virtual void notifyOfAttributeChange(sp<Depend> &depend) = 0;
57 virtual bool isExactlyBitset(
const t_bitset a_bitset) = 0;
58 virtual bool containsBitset(
const t_bitset a_bitset) = 0;
60 const t_bitset &bitset(
void)
const {
return m_bitset; }
61 void setBitset(
const t_bitset &a_bs) { m_bitset = a_bs; }
kernel
Definition: namespace.dox:3