scsolver::PropStreamParser Class Reference

#include <resmgr.hxx>

List of all members.

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


Detailed Description

Definition at line 125 of file resmgr.hxx.


Constructor & Destructor Documentation

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]


Member Function Documentation

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]

Definition at line 569 of file resmgr.cxx.

References mrBytes.

Referenced by parse().

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().


Member Data Documentation

const ::com::sun::star::uno::Sequence<sal_Int8>& scsolver::PropStreamParser::mrBytes [private]

Definition at line 152 of file resmgr.hxx.

Referenced by advanceToLinefeed(), and parse().

::std::vector<StringResMgr::Entry> scsolver::PropStreamParser::mEntries [private]

Definition at line 153 of file resmgr.hxx.


The documentation for this class was generated from the following files:
Generated on Mon Jul 28 09:13:48 2008 for scsolver by  doxygen 1.5.3