7 #ifndef __terrain_Strata_h__ 8 #define __terrain_Strata_h__ 10 FE_ATTRIBUTE(
"surf:strataName",
"Name of StrataI Component");
11 FE_ATTRIBUTE(
"surf:strataI",
"Instance of StrataI Component");
29 Strata(
void) { setName(
"Strata"); }
32 add(strataName, FE_USE(
"surf:strataName"));
33 add(strataComponent, FE_USE(
"surf:strataI"));
34 add(stratumGroup, FE_SPEC(
"surf:stratumGrp",
35 "RecordGroup of Stratum"));
41 strataComponent.
attribute()->setSerialize(FALSE);
43 feLog(
"Strata::initializeRecord %s\n",name().c_str());
49 feLog(
"Strata::finalizeRecord %s %s\n",name().c_str(),
50 strataName().c_str());
52 if(!strataName().empty())
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: Strata.h:30
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: Strata.h:37
virtual void finalizeRecord(void)
Called right after instantiation to finalize complex attributes.
Definition: Strata.h:45
Strata RecordView.
Definition: Strata.h:22
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
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