Foxit PDF SDK

Public Member Functions | List of all members
CFX_Stack< CFX_ByteString > Class Template Reference
FXCRT

Inherits CFX_Object.

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

## Detailed Description

### template<>
class CFX_Stack< CFX_ByteString >

The class represents CFX_ByteString stack template.

## Member Function Documentation

## ◆ Empty()

FX_BOOL CFX_Stack< CFX_ByteString >::Empty | ( |  | ) | const
| inline

Empty the container.

Returns
  true means success, while false means failure.

## ◆ Pop()

void CFX_Stack< CFX_ByteString >::Pop | ( |  | ) |
| inline

Pop the byte string from stack.

Returns
  None.

## ◆ Push()

void CFX_Stack< CFX_ByteString >::Push | ( | const CFX_ByteString & | val | ) |
| inline

Push the byte string to stack.

Parameters

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

Returns
  None.

## ◆ Size()

int CFX_Stack< CFX_ByteString >::Size | ( |  | ) | const
| inline

Get size of the container.

Returns
  The size of the container.

## ◆ Top()

CFX_ByteString& CFX_Stack< CFX_ByteString >::Top | ( |  | ) |
| inline

Get the top byte string.

Returns
  The top byte string.