tue_config
data.cpp
Go to the documentation of this file.
1 #include "tue/config/data.h"
2 #include "tue/config/map.h"
3 
4 #include <boost/make_shared.hpp>
5 
7 
8 namespace tue
9 {
10 
11 namespace config
12 {
13 
14 // ----------------------------------------------------------------------------------------------------
15 
17 {
18  addNode(boost::make_shared<Map>(""), -1);
19 }
20 
21 // ----------------------------------------------------------------------------------------------------
22 
24 {
25 }
26 
27 // ----------------------------------------------------------------------------------------------------
28 
29 //std::ostream& operator<<(std::ostream& out, const Data& d)
30 //{
31 // YAMLEmitter emitter;
32 // emitter.emit(DataPointer(d, d.root()), out);
33 // return out;
34 //}
35 
36 }
37 
38 } // end namespace tue
39 
tue::config::Data::Data
Data()
Definition: data.cpp:16
tue::config::Data::~Data
virtual ~Data()
Definition: data.cpp:23
tue::config::Data::addNode
NodeIdx addNode(const NodePtr &n, NodeIdx parent)
Definition: data.h:61
map.h
data.h
tue
config
tue::config::ReaderWriter config
Definition: sdf_gtest.cpp:9
yaml_emitter.h