# TK_PIText

## Functions

| `TK_PIText`
TK_Status | `Interpret`
TK_Status | `Write`
TK_Status | `Execute`
TK_Status | `Clone`

## Detailed Description

class TK_PIText : public HTK_Text

  A custom HTK_Text class which includes the HOOPS/3dgs key and pointer to an HSharedKey persistent indentifier object

  Public Functions

  inline TK_PIText(unsigned char opcode, HSharedKey *persIdent)

    Constructs a TK_PIText object.

    Parameters

      persIdent – A pointer to the shared key that you want to associate with this object.

  inline TK_Status Interpret(BStreamFileToolkit &tk, HC_KEY key, int variant = 0)
  inline TK_Status Write(BStreamFileToolkit &tk)
  inline TK_Status Execute(BStreamFileToolkit &tk)
  TK_Status Clone(BStreamFileToolkit &tk, BBaseOpcodeHandler **handler) const

    This method makes a copy of itself and return a pointer to the newly created object.

    Parameters

      - tk – A reference to the BStreamFileToolkit object.

      - handler – The method will return a pointer to a copy of itself.

    Returns

      A #TK_Status indicating whether the operation was successful.