- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Friends

# MCharBuffer Class Reference
OpenMayaUI - API module for user interface

Search for all occurrences

## Detailed Description

Memory buffer utility class.

Simple utility class so that we do not pass a reference to a char*

`#include <MPxThreadedDeviceNode.h>`

List of all members.

## Public Member Functions
| MCharBuffer ()
| Constructor.
char * | ptr ()
| Returns the pointer of the buffer.
long | size ()
| Returns the size of the buffer.
## Friends
class | MPxThreadedDeviceNode Search for all occurrences

## Constructor & Destructor Documentation

MCharBuffer | ( |  | ) |

Constructor.

Creates a empty character buffer.

## Member Function Documentation

char * ptr | ( |  | ) |

Search for all occurrences

Returns the pointer of the buffer.

Returns:
  Buffer pointer.

long size | ( |  | ) |

Search for all occurrences

Returns the size of the buffer.

Returns:
  Buffer size.

MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer
MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer MCharBuffer