Adobe.com
Contents Suites Classes Class Index Member Index

ai::PStr Class Reference

Mutable Pascal string adapter object. More...

#include <IAIUnicodeString.h>

Inheritance diagram for ai::PStr:
ai::const_PStr

List of all members.

Public Member Functions

 PStr (unsigned char *pascalString)
 Constructor.
 PStr (const PStr &p)
 <Constructor.
unsigned char * get () const
 Retrieves a reference to this object.
unsigned char & operator[] (size_t i) const
 Retrieves a character from this string.

Detailed Description

Mutable Pascal string adapter object.


Constructor & Destructor Documentation

ai::PStr::PStr ( unsigned char *  pascalString  )  [inline, explicit]

Constructor.

Creates a mutable Pascal string object from a Pascal string.

Parameters:
pascalString The C string.
Returns:
The new object.
ai::PStr::PStr ( const PStr p  )  [inline]

<Constructor.

Creates a mutable Pascal string object from a string pointer.

Parameters:
p The string pointer.
Returns:
The new object.

Member Function Documentation

unsigned char* ai::PStr::get (  )  const [inline]

Retrieves a reference to this object.

Returns:
The object reference.

Reimplemented from ai::const_PStr.

References ai::const_PStr::fConstStr.

unsigned char& ai::PStr::operator[] ( size_t  i  )  const [inline]

Retrieves a character from this string.

Returns:
The character.

Reimplemented from ai::const_PStr.


The documentation for this class was generated from the following file:


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks