7 #ifndef __datatool_Recordable_h__ 8 #define __datatool_Recordable_h__ 10 FE_ATTRIBUTE(
"rec:name",
"Name of Component");
11 FE_ATTRIBUTE(
"rec:component",
"Instance of Component");
33 add(serial, FE_USE(
":SN"));
34 add(recordableName, FE_USE(
"rec:name"));
35 add(component, FE_USE(
"rec:component"));
41 component.
attribute()->setSerialize(FALSE);
52 if(!recordableName().empty())
58 if(cpRecordableI.isValid())
60 Record thisRecord=record();
61 cpRecordableI.writable()->bind(thisRecord);
63 #if FE_CODEGEN<=FE_DEBUG 66 feLog(
"Recordable::finalizeRecord" 67 " %s isn't RecordableI\n",name().c_str());
virtual void finalizeRecord(void)
Called right after instantiation to finalize complex attributes.
Definition: Recordable.h:45
kernel
Definition: namespace.dox:3
Bound accessor in a RecordView.
Definition: RecordView.h:147
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: Recordable.h:31
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: Recordable.h:37
sp< Attribute > attribute(void) const
Return the attribute this accessor is for.
Definition: Accessor.cc:151
void createAndSetComponent(String componentName)
Create a named component for the attribute.
Definition: RecordView.h:236
Bindable collection of accessor Functors.
Definition: RecordView.h:106
Reference to an instance of a Layout.
Definition: RecordSB.h:35
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: RecordView.h:571
virtual void finalizeRecord(void)
Called right after instantiation to finalize complex attributes.
Definition: RecordView.h:583
Copy-On-Write shared pointer.
Definition: Protectable.h:93
Recordable RecordView.
Definition: Recordable.h:23