Foxit PDF SDK

Public Member Functions | List of all members
CFX_ObjectStack< TYPE > Class Template Reference
FXCRT

Inherits CFX_Object.

## Public Member Functions
| CFX_ObjectStack ()
| Construct.
FX_BOOL | Empty () const
| Empty the container. More...
void | Pop ()
| Pop the byte string from stack. More...
void | Push (const TYPE &val)
| Push the byte string to stack. More...
int | Size () const
| Get size of the container. More...
TYPE & | Top ()
| Get the top byte string. More...

## Detailed Description

### template<class TYPE>
class CFX_ObjectStack< TYPE >

The class represents objects stack template.

## Member Function Documentation

## ◆ Empty()

template<class TYPE >

FX_BOOL CFX_ObjectStack< TYPE >::Empty | ( |  | ) | const
| inline

Empty the container.

Returns
  true means success, while false means failure.

## ◆ Pop()

template<class TYPE >

void CFX_ObjectStack< TYPE >::Pop | ( |  | ) |
| inline

Pop the byte string from stack.

Returns
  None.

## ◆ Push()

template<class TYPE >

void CFX_ObjectStack< TYPE >::Push | ( | const TYPE & | val | ) |
| inline

Push the byte string to stack.

Parameters

  [in] | val | A byte string to be pushed to the stack.

Returns
  None.

## ◆ Size()

template<class TYPE >

int CFX_ObjectStack< TYPE >::Size | ( |  | ) | const
| inline

Get size of the container.

Returns
  The size of the container.

## ◆ Top()

template<class TYPE >

TYPE& CFX_ObjectStack< TYPE >::Top | ( |  | ) |
| inline

Get the top byte string.

Returns
  The top byte string.