String::PChar Class Reference

#include <c4d_string.h>

Public Member Functions

PCharoperator= (const PChar &rhs)
 
PCharoperator= (UInt16 c)
 
 operator UInt16 () const
 

Private Member Functions

 PChar (String *str, Int32 pos)
 

Private Attributes

String_str
 
Int32 _pos
 

Friends

class String
 

Detailed Description

A PChar represents a character in a String.

Constructor & Destructor Documentation

◆ PChar()

PChar ( String str,
Int32  pos 
)
private

Private. Internal.

Member Function Documentation

◆ operator=() [1/2]

PChar& operator= ( const PChar rhs)

Assigns the character.

Parameters
[in]rhsA character.

◆ operator=() [2/2]

PChar& operator= ( UInt16  c)

Assigns the character.

Parameters
[in]cA character.

◆ operator UInt16()

operator UInt16 ( ) const

Gets the character.

Returns
The character.

Friends And Related Function Documentation

◆ String

friend class String
friend

Member Data Documentation

◆ _str

String* _str
private

Private. Internal.

◆ _pos

Int32 _pos
private

Private. Internal.