herald  2.0.0
placename_location_reference.h
1 // Copyright 2020-2021 Herald Project Contributors
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 #ifndef HERALD_PLACENAME_LOCATION_REFERENCE_H
6 #define HERALD_PLACENAME_LOCATION_REFERENCE_H
7 
8 #include "location_reference.h"
9 
10 namespace herald {
11 namespace datatype {
12 
14  PlacenameLocationReference(std::string n) : LocationReference(), name(n) { };
15  ~PlacenameLocationReference() = default;
16 
17  std::string name;
18 
19  std::string description() {
20  return "PLACE(name=" + name + ")";
21  }
22 };
23 
24 
25 } // end namespace
26 } // end namespace
27 
28 #endif
Acts as a non-global memory arena for arbitrary classes.
Definition: aggregates.h:15
Definition: location_reference.h:13
Definition: placename_location_reference.h:13