FF4 - Snapshot

- Added encode/decode Att methods.  Necessary if description is to be an
  attribute, which will be quoted.
This commit is contained in:
Paul Beckingham 2009-05-17 17:11:35 -04:00
parent fdd43a9619
commit 58e1f3691c
2 changed files with 18 additions and 0 deletions

View file

@ -152,3 +152,17 @@ bool Att::internal () const
}
////////////////////////////////////////////////////////////////////////////////
// TODO Encode values prior to serialization.
void Att::encode (std::string&) const
{
throw std::string ("unimplemented Att::internal");
}
////////////////////////////////////////////////////////////////////////////////
// TODO Decode values after parse.
void Att::decode (std::string&) const
{
throw std::string ("unimplemented Att::internal");
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -57,6 +57,10 @@ public:
bool required () const;
bool internal () const;
private:
void encode (std::string&) const;
void decode (std::string&) const;
private:
std::string mName;
std::string mValue;