• 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
  • XMLText

XMLText Class

The XMLText is a baseclass for XML Text elements. More...

Header: #include <XMLText>
Inherits: XMLPrimitive
Inherited By:

XMLBOM

  • List of all members, including inherited members

Public Functions

XMLText(void)
virtual ~XMLText(void)
XMLText *GetChild()
XMLText *GetNext()
XMLText *GetPrevious()
XMLString &GetText()

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 XMLText is a baseclass for XML Text elements.

XMLTexts can occur as children or exist between XML Elements. XMLText has a Name, Type, and a pointer to next.

Member Function Documentation

XMLText::XMLText(void)

Constructs primitive of type e_XMLText.

[virtual] XMLText::~XMLText(void)

Destructs object.

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

Reimplemented from XMLPrimitive::Dump().

Appends the text into the open pFile.

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

Reimplemented from XMLPrimitive::Dump().

Appends the text into pzBuffer.

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

Reimplemented from XMLPrimitive::Dump().

Appends the text into strBuffer.

XMLText *XMLText::GetChild()

Returns the first child element of type XMLText, or nullptr if none.

XMLText *XMLText::GetNext()

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

XMLText *XMLText::GetPrevious()

Returns the previous XML primitive of type XMLText at this level , or nullptr if none.

XMLString &XMLText::GetText()

Returns the text.

[virtual] unsigned int XMLText::GetWriteBufferSize()

Reimplemented from XMLPrimitive::GetWriteBufferSize().

Returns the size to allocate for this item.

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

Reimplemented from XMLPrimitive::Parse().

Parses XMLText from pStart. GetName() will return the text.

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