Free Electron
BoxRecordView.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 #pragma once
8 
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /**
15  * Test-only.
16  *
17  * Record View for a simple box record.
18  */
20  public DevRecordView,
21  public fe::Initialize<BoxRecordView>
22 {
23 public:
24  /** Transform of box. */
26  /** Size of box. */
28 
29  void initialize()
30  {
31  add(transform, "transform");
32  add(size, "size");
33  };
34 };
35 
36 } /* namespace ext */
37 } /* namespace fe */
fe::Accessor< fe::SpatialVector > size
Size of box.
Definition: BoxRecordView.h:27
fe::Accessor< fe::SpatialTransform > transform
Transform of box.
Definition: BoxRecordView.h:25
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
The main data access class for the data system.
Definition: Accessor.h:128
Development version of a Record View.
Definition: DevRecordView.h:15
Test-only.
Definition: BoxRecordView.h:19