#include <WinNote.h>
Inheritance diagram for WinNote:
Public Member Functions | |
WinNote () | |
Default Constructor. | |
WinNote (const wstring dataString) | |
Constructor: fills propertyMap parsing the passed vNote string. | |
~WinNote () | |
Destructor. | |
virtual int | parse (const wstring dataString) |
Parse a vNote string and fills the propertyMap. | |
virtual wstring & | toString () |
Format and return a vNote string from the propertyMap. |
The object can be filled passing a vNote, or filling directly the map. Calling 'toString()' a vNote is formatted and returned.
virtual int WinNote::parse | ( | const wstring | dataString | ) | [virtual] |
Parse a vNote string and fills the propertyMap.
The map is cleared and will contain only found properties at the end of the parsing.
dataString | input vNote string to be parsed |
Implements WinItem.
Reimplemented in WinNoteSIF.
virtual wstring& WinNote::toString | ( | ) | [virtual] |
Format and return a vNote string from the propertyMap.
Not supported properties are ignored and so not formatted as they don't have a correspondence in propertyMap.
Implements WinItem.
Reimplemented in WinNoteSIF.