ReaderPrivate Class Reference
Public Member Functions | |
| bool | read () |
| ReaderPrivate (const char *FileName, std::istream &is) | |
Public Member Functions inherited from Base::XMLReader | |
| bool | isValid () const |
| bool | isVerbose () const |
| void | setVerbose (bool on) |
| XMLReader (const char *FileName, std::istream &) | |
| open the file and read the first element More... | |
| ~XMLReader () | |
| const char * | localName (void) const |
| get the local name of the current Element More... | |
| int | level () const |
| get the current element level More... | |
| void | readElement (const char *ElementName=0) |
| read until a start element is found (<name>) or start-end element (<name/>) (with special name if given) More... | |
| void | readEndElement (const char *ElementName=0, int level=-1) |
| read until an end element is found More... | |
| void | readCharacters (void) |
| read until characters are found More... | |
| void | readBinFile (const char *) |
| read binary file More... | |
| unsigned int | getAttributeCount (void) const |
| get the number of attributes of the current element More... | |
| bool | hasAttribute (const char *AttrName) const |
| check if the read element has a special attribute More... | |
| long | getAttributeAsInteger (const char *AttrName) const |
| return the named attribute as an interer (does type checking) More... | |
| unsigned long | getAttributeAsUnsigned (const char *AttrName) const |
| double | getAttributeAsFloat (const char *AttrName) const |
| return the named attribute as a double floating point (does type checking) More... | |
| const char * | getAttribute (const char *AttrName) const |
| return the named attribute as a double floating point (does type checking) More... | |
| const char * | addFile (const char *Name, Base::Persistence *Object) |
| add a read request of a persistent object More... | |
| void | readFiles (zipios::ZipInputStream &zipstream) const |
| process the requested file writes More... | |
| const std::vector< std::string > & | getFilenames () const |
| get all registered file names More... | |
| bool | isRegistered (Base::Persistence *Object) const |
| virtual void | addName (const char *, const char *) |
| virtual const char * | getName (const char *) const |
| virtual bool | doNameMapping () const |
| void | setPartialRestore (bool on) |
| sets simultaneously the global and local PartialRestore bits More... | |
| void | clearPartialRestoreDocumentObject (void) |
| void | clearPartialRestoreProperty (void) |
| void | clearPartialRestoreObject (void) |
| bool | testStatus (ReaderStatus pos) const |
| return the status bits More... | |
| void | setStatus (ReaderStatus pos, bool on) |
| set the status bits More... | |
Additional Inherited Members | |
Public Types inherited from Base::XMLReader | |
| enum | ReaderStatus { PartialRestore = 0, PartialRestoreInDocumentObject = 1, PartialRestoreInProperty = 2, PartialRestoreInObject = 3 } |
Public Attributes inherited from Base::XMLReader | |
| int | DocumentSchema |
| Schema Version of the document. More... | |
| std::string | ProgramVersion |
| Version of FreeCAD that wrote this document. More... | |
| int | FileVersion |
| Version of the file format. More... | |
| std::vector< FileEntry > | FileList |
Protected Types inherited from Base::XMLReader | |
| enum | { , Chars, StartDocument, EndDocument, StartElement, StartEndElement, EndElement, StartCDATA, EndCDATA } |
| typedef std::map< std::string, std::string > | AttrMapType |
Protected Member Functions inherited from Base::XMLReader | |
| virtual void | startDocument () |
| virtual void | endDocument () |
| virtual void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES_CPP_NAMESPACE_QUALIFIER Attributes &attrs) |
| virtual void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
| virtual void | characters (const XMLCh *const chars, const XMLSize_t length) |
| virtual void | ignorableWhitespace (const XMLCh *const chars, const XMLSize_t length) |
| virtual void | startCDATA () |
| virtual void | endCDATA () |
| virtual void | resetDocument () |
| void | warning (const XERCES_CPP_NAMESPACE_QUALIFIER SAXParseException &exc) |
| void | error (const XERCES_CPP_NAMESPACE_QUALIFIER SAXParseException &exc) |
| void | fatalError (const XERCES_CPP_NAMESPACE_QUALIFIER SAXParseException &exc) |
| void | resetErrors () |
| bool | read (void) |
| read the next element More... | |
Protected Attributes inherited from Base::XMLReader | |
| int | Level |
| std::string | LocalName |
| std::string | Characters |
| unsigned int | CharacterCount |
| std::map< std::string, std::string > | AttrMap |
| enum Base::XMLReader:: { ... } | ReadType |
| XERCES_CPP_NAMESPACE_QUALIFIER SAX2XMLReader * | parser |
| XERCES_CPP_NAMESPACE_QUALIFIER XMLPScanToken | token |
| std::vector< std::string > | FileNames |
| std::bitset< 32 > | StatusBits |
Constructor & Destructor Documentation
◆ ReaderPrivate()
| ReaderPrivate::ReaderPrivate | ( | const char * | FileName, |
| std::istream & | is | ||
| ) |
Member Function Documentation
◆ read()
| bool ReaderPrivate::read | ( | ) |
The documentation for this class was generated from the following file:
- src/Mod/Spreadsheet/App/Cell.cpp
Public Member Functions inherited from
1.8.17