Free Electron
nodeAS.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __node_nodeAS_h__
8 #define __node_nodeAS_h__
9 
10 #include "spatial/spatial.h"
11 
12 namespace fe
13 {
14 
15 class AsNode
16  : public AccessorSet, public Initialize<AsNode>
17 {
18  public:
19  AsNode(void){}
20  void initialize(void)
21  {
22  add(name, FE_SPEC("node:name", "node name"));
23  add(content, FE_SPEC("node:content", "node container"));
24  }
25  /// name
26  Accessor<String> name;
27  /// container
28  Accessor<sp<RecordGroup> > content;
29 };
30 
31 } /* namespace */
32 
33 #endif /* __node_nodeAS_h__ */
34 
kernel
Definition: namespace.dox:3
const String & name(void) const
Return the components chosen name.
Definition: Component.h:77