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

XMLQMark Class

The XMLQMark class holds xml elements starting and ending with a '?'. More...

Header: #include <XMLQMark>
Inherits: XMLElementEx
  • List of all members, including inherited members

Public Functions

XMLQMark(void)
virtual ~XMLQMark()
XMLQMark *GetChild()
XMLQMark *GetNext()
XMLQMark *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)
  • 30 public functions inherited from XMLElementEx
  • 37 public functions inherited from XMLPrimitive

Additional Inherited Members

  • 1 static public member inherited from XMLPrimitive

Detailed Description

The XMLQMark class holds xml elements starting and ending with a '?'.

Example XMLQMark:

<?something attribute="1.0" someotherattribute="utf-8"?>

For the example above, use GetName() to retrieve 'something' and then use the XMLAttribute functions get the attributes.

Member Function Documentation

XMLQMark::XMLQMark(void)

Constructs an element of type e_XMLQMark.

[virtual] XMLQMark::~XMLQMark()

Destructs the element.

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

Reimplemented from XMLPrimitive::Dump().

Appends this xml QMark to the open file in pFile.

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

Reimplemented from XMLPrimitive::Dump().

Appends the content of this XMLQMark to pzBuffer.

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

Reimplemented from XMLPrimitive::Dump().

Appends the content of this XMLQMark to strBuffer.

XMLQMark *XMLQMark::GetChild()

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

XMLQMark *XMLQMark::GetNext()

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

XMLQMark *XMLQMark::GetPrevious()

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

[virtual] unsigned int XMLQMark::GetWriteBufferSize()

Reimplemented from XMLPrimitive::GetWriteBufferSize().

Gets the size to allocate for this primitive.

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

Reimplemented from XMLPrimitive::Parse().

Parses the XML QMark from the string given in pStart. nLineNumber is used for error-reporting. Returns char pointer to element after this, or nullptr on error

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