12 #ifndef CARMA_SDP_ASTROHDRELEMENT_H
13 #define CARMA_SDP_ASTROHDRELEMENT_H
17 #include <boost/shared_ptr.hpp>
31 class AstroHeaderElement;
32 typedef boost::shared_ptr<AstroHeaderElement> AstroHeaderElementPtr;
43 class AstroHeaderElement
46 AstroHeaderElement(
const std::string &name,
const enum AHW_Valtype &type,
const std::vector<std::string> &data);
48 bool modified()
const;
49 void modified(
const bool b);
54 friend LineBuffer &operator<<(LineBuffer& lb,
const AstroHeaderElementPtr &elem);
57 const std::string name_;
58 const enum AHW_Valtype type_;
60 const std::vector<std::string> data_;
66 class AstroHeaderElementMap :
public std::map<std::string, AstroHeaderElementPtr>
69 void putData(
const std::string &name,
const enum AHW_Valtype &type,
const std::string &data);
70 void putData(
const std::string &name,
const enum AHW_Valtype &type,
const std::vector<std::string> &data);
unsigned int frameType
Half second frames since Jan 1, 2000.
Various type definitions for util classes.