Free Electron
fieldAS.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 __field_fieldAS_h__
8 #define __field_fieldAS_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 class AsScalarField :
15  virtual public AccessorSet,
16  public Initialize<AsScalarField>
17 {
18  public:
19  void initialize(void)
20  {
21  add(field, FE_SPEC("field:scalar", "scalar field component"));
22  }
23  Accessor< sp<Component> > field;
24 };
25 
26 } /* namespace ext */
27 } /* namespace fe */
28 
29 #endif /* __field_fieldAS_h__ */
30 
kernel
Definition: namespace.dox:3