Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
TMPro.TMP_XmlTagStack< T > Struct Template Reference

Structure used to track XML tags of various types. More...

Public Member Functions

void Add (T item)
 Function to add a new item to the stack. More...
 
void Clear ()
 Function to clear and reset stack to first item. More...
 
CurrentItem ()
 Function to retrieve the current item from the stack. More...
 
Pop ()
 
PreviousItem ()
 Function to retrieve the previous item without affecting the stack. More...
 
void Push (T item)
 
Remove ()
 Function to retrieve an item from the stack. More...
 
void SetDefault (T item)
 Function to set the first item on the stack and reset index. More...
 
 TMP_XmlTagStack (T[] tagStack)
 Constructor to create a new item stack. More...
 

Public Attributes

int index
 
T[] itemStack
 

Detailed Description

Structure used to track XML tags of various types.

Template Parameters
T

Constructor & Destructor Documentation

TMPro.TMP_XmlTagStack< T >.TMP_XmlTagStack ( T[]  tagStack)
inline

Constructor to create a new item stack.

Parameters
tagStack

Member Function Documentation

void TMPro.TMP_XmlTagStack< T >.Add ( item)
inline

Function to add a new item to the stack.

Parameters
item
void TMPro.TMP_XmlTagStack< T >.Clear ( )
inline

Function to clear and reset stack to first item.

T TMPro.TMP_XmlTagStack< T >.CurrentItem ( )
inline

Function to retrieve the current item from the stack.

Returns
itemStack <T>
T TMPro.TMP_XmlTagStack< T >.Pop ( )
inline
T TMPro.TMP_XmlTagStack< T >.PreviousItem ( )
inline

Function to retrieve the previous item without affecting the stack.

Returns
void TMPro.TMP_XmlTagStack< T >.Push ( item)
inline
T TMPro.TMP_XmlTagStack< T >.Remove ( )
inline

Function to retrieve an item from the stack.

Returns
void TMPro.TMP_XmlTagStack< T >.SetDefault ( item)
inline

Function to set the first item on the stack and reset index.

Parameters
item

Member Data Documentation

int TMPro.TMP_XmlTagStack< T >.index
T [] TMPro.TMP_XmlTagStack< T >.itemStack

The documentation for this struct was generated from the following file: