#include <resmgr.hxx>
Public Member Functions | |
| PropStreamParser (const ::com::sun::star::uno::Sequence< sal_Int8 > &bytes) | |
| ~PropStreamParser () | |
| void | parse () |
| void | getEntries (::std::vector< StringResMgr::Entry > &rEntries) const |
Private Member Functions | |
| PropStreamParser () | |
| void | advanceToLinefeed (sal_Int32 &i) const |
| void | purgeBuffer (::rtl::OUString &rValue,::std::vector< sal_Char > &rBuf) const |
| void | pushEntry (const ::rtl::OUString &name, const ::rtl::OUString &value) |
Private Attributes | |
| const ::com::sun::star::uno::Sequence < sal_Int8 > & | mrBytes |
| ::std::vector < StringResMgr::Entry > | mEntries |
Definition at line 125 of file resmgr.hxx.
| scsolver::PropStreamParser::PropStreamParser | ( | const ::com::sun::star::uno::Sequence< sal_Int8 > & | bytes | ) |
| scsolver::PropStreamParser::~PropStreamParser | ( | ) |
Definition at line 501 of file resmgr.cxx.
| scsolver::PropStreamParser::PropStreamParser | ( | ) | [private] |
| void scsolver::PropStreamParser::parse | ( | ) |
Parse a string line like this:
23.DialogName.WidgetName.Label=This is text label
The first numerical segment must be ignored. A comment begins with a '#' and all characters after it will be ignored until it reaches the linefeed.
Definition at line 505 of file resmgr.cxx.
References advanceToLinefeed(), mrBytes, purgeBuffer(), and pushEntry().
| void scsolver::PropStreamParser::getEntries | ( | ::std::vector< StringResMgr::Entry > & | rEntries | ) | const |
| void scsolver::PropStreamParser::advanceToLinefeed | ( | sal_Int32 & | i | ) | const [private] |
| void scsolver::PropStreamParser::purgeBuffer | ( | ::rtl::OUString & | rValue, | |
| ::std::vector< sal_Char > & | rBuf | |||
| ) | const [private] |
Referenced by parse().
| void scsolver::PropStreamParser::pushEntry | ( | const ::rtl::OUString & | name, | |
| const ::rtl::OUString & | value | |||
| ) | [private] |
Referenced by parse().
const ::com::sun::star::uno::Sequence<sal_Int8>& scsolver::PropStreamParser::mrBytes [private] |
::std::vector<StringResMgr::Entry> scsolver::PropStreamParser::mEntries [private] |
Definition at line 153 of file resmgr.hxx.
1.5.3