• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

Software development tool for distributed control systems

  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Product
    • Design UI
    • Develop
    • Analyze and test
    • Deploy
    • Framework and toolbox
    • Compatibility
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - XMLParser
  • XMLEntity

XMLEntity Class

The XMLEntity handles parsing and storage of XML entities. More...

Header: #include <XMLEntity>
Inherits: XMLPrimitive
  • List of all members, including inherited members

Public Functions

XMLEntity(void)
virtual ~XMLEntity(void)
XMLEntity *GetChild()
XMLEntity *GetNext()
XMLEntity *GetPrevious()

Reimplemented Public Functions

virtual bool Dump(FILE *pFile)
virtual char *Dump(char *pzBuffer)
virtual void Dump(XMLBuffer &strBuffer)
virtual unsigned int GetWriteBufferSize()
virtual const char *Parse(const char *pStart, unsigned int &nLineNumber)
  • 37 public functions inherited from XMLPrimitive

Additional Inherited Members

  • 1 static public member inherited from XMLPrimitive

Detailed Description

The XMLEntity handles parsing and storage of XML entities.

Example XMLEntity:

<!ENTITY SF "Science Fiction">

The XMLEntity Name is set to the first string following '<!' up until the white-space. The Entity Value is set to anything that follows, up until, excluding '>'.

Member Function Documentation

XMLEntity::XMLEntity(void)

Constructs the XMLEntity, setting the type to e_XMLEntity.

[virtual] XMLEntity::~XMLEntity(void)

Destructor.

[virtual] bool XMLEntity::Dump(FILE *pFile)

Reimplemented from XMLPrimitive::Dump().

Appends the XMLEntity to an already open file.

[virtual] char *XMLEntity::Dump(char *pzBuffer)

Reimplemented from XMLPrimitive::Dump().

Appends the XMLEntity to pzBuffer.

[virtual] void XMLEntity::Dump(XMLBuffer &strBuffer)

Reimplemented from XMLPrimitive::Dump().

Appends the XMLEntity to strBuffer.

XMLEntity *XMLEntity::GetChild()

Gets the first child element of type XMLEntity, or nullptr if none.

XMLEntity *XMLEntity::GetNext()

Gets the next XMLPrimitive of type XMLEntity at this level, or nullptr if none.

XMLEntity *XMLEntity::GetPrevious()

Gets the previous XML primitive of type XMLEntity at this level , or nullptr if none.

[virtual] unsigned int XMLEntity::GetWriteBufferSize()

Reimplemented from XMLPrimitive::GetWriteBufferSize().

Gets the size that this item will occupy in a buffer.

[virtual] const char *XMLEntity::Parse(const char *pStart, unsigned int &nLineNumber)

Reimplemented from XMLPrimitive::Parse().

Parses the XMLEntity, reporting errors if any. Returns pointer to character(s) following this element.

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

Follow CDP

    © Copyright 2021 CDP Technologies. Privacy and cookie policy.

    Return to top