45 assert(data.first == this->getDataType());
47 wire = boost::static_pointer_cast<
Scope>(data.second)->toString();
52 const std::string& wire) {
56 boost::shared_ptr<Scope>(
new Scope(wire)));
std::pair< std::string, boost::shared_ptr< void > > AnnotatedData
A combination of data type and the actual data.
AnnotatedData deserialize(const std::string &wireSchema, const std::string &wire)
Deserializes a domain object from a wire type.
static const std::string WIRE_SCHEMA
virtual ~ScopeConverter()
std::string serialize(const AnnotatedData &data, std::string &wire)
Serialized the given domain object to the wire.
virtual std::string getDataType() const
Returns the name of the data type this converter is applicable for.
Scope is a descriptor for a hierarchical channel of the unified bus.