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

XMLWhiteSpace Class

The XMLWhitespace is a helper class to hold and parse XML white-spaces. More...

Header: #include <XMLWhiteSpace>
  • List of all members, including inherited members

Public Functions

XMLWhiteSpace(void)
virtual bool Dump(FILE *pFile)
virtual char *Dump(char *pzBuffer)
virtual void Dump(XMLBuffer &strBuffer)
unsigned int GetLength()
unsigned int GetWriteBufferSize()
virtual const char *Parse(const char *pStart, unsigned int &nLineNumber)
void Set(const char *pStart, int nLength = -1)

Detailed Description

The XMLWhitespace is a helper class to hold and parse XML white-spaces.

Member Function Documentation

XMLWhiteSpace::XMLWhiteSpace(void)

Constructs the white-space.

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

Appends the white-spaces to an open file pFile.

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

Appends the white-spaces to pzBuffer.

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

Appends the white-spaces to strBuffer.

unsigned int XMLWhiteSpace::GetLength()

Gets the length of the white-spaces.

unsigned int XMLWhiteSpace::GetWriteBufferSize()

Returns the buffer-size required for the white-spaces.

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

Parses white-spaces from pStart, returning a pointer to the first non-white-space character after.

void XMLWhiteSpace::Set(const char *pStart, int nLength = -1)

Sets the content of the white-space from pStart limited by nLength.

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