42 #ifndef _DWMAUTHCOUNTEDSTRING_HH_ 43 #define _DWMAUTHCOUNTEDSTRING_HH_ 47 #include "DwmReadable.hh" 48 #include "DwmWritable.hh" 58 :
public Readable,
public Writable
61 CountedString() =
default;
62 CountedString(
const std::string & s)
66 operator const std::string & ()
const 71 operator std::string & ()
76 const std::string & Value()
const 81 const std::string & Value(
const std::string & v)
87 std::istream & Read(std::istream & is);
88 std::ostream & Write(std::ostream & os)
const;
90 ssize_t Write(
int fd)
const;
92 size_t Write(FILE *f)
const;
93 uint32_t StreamedLength()
const;
103 #endif // _DWMAUTHCOUNTEDSTRING_HH_ Definition: DwmAuth.hh:48