예제 #1
0
파일: Type.cpp 프로젝트: Overkiz/libbus
 void Wrapper<FileSystem::Directory>::deserialize(Message::ConstIterator& iterator, FileSystem::Directory & val) const
 {
   Wrapper<std::string> stringWrapper;
   Wrapper<uint32_t>  uint32_tWrapper;
   std::string tmpString;
   uint32_t tmpUint32_t;
   stringWrapper.deserialize(iterator, tmpString);
   ++iterator;
   val.getName() = tmpString;
   stringWrapper.deserialize(iterator, tmpString);
   ++iterator;
   val.getPath() = tmpString;
   uint32_tWrapper.deserialize(iterator, tmpUint32_t);
   val.getMode() = tmpUint32_t;
 }
예제 #2
0
파일: Type.cpp 프로젝트: Overkiz/libbus
 void Wrapper<Overkiz::UniversalUniqueIdentifier>::deserialize(Message::ConstIterator& iterator, Overkiz::UniversalUniqueIdentifier& val) const
 {
   std::string string;
   Wrapper<std::string> wstring;
   wstring.deserialize(iterator, string);
   val.build(string);
 }