pdfHTML 2.1.6 API
iText.Html2pdf.Attach.State Class Reference

State machine to push, pop, peek,... More...

Public Member Functions

 State ()
 Instantiates a new State instance. More...
 
virtual Stack< ITagWorkerGetStack ()
 Gets the stack. More...
 
virtual void Push (ITagWorker tagWorker)
 Pushes a ITagWorker instance to the stack. More...
 
virtual ITagWorker Pop ()
 Pops a ITagWorker from the stack. More...
 
virtual ITagWorker Top ()
 Peeks at the ITagWorker at the top of the stack. More...
 
virtual bool Empty ()
 Checks if the stack is empty. More...
 

Detailed Description

State machine to push, pop, peek,...

State machine to push, pop, peek,... ITagWorker instances to and from the System.Collections.Stack<E>.

Constructor & Destructor Documentation

◆ State()

iText.Html2pdf.Attach.State.State ( )
inline

Instantiates a new State instance.

Member Function Documentation

◆ Empty()

virtual bool iText.Html2pdf.Attach.State.Empty ( )
inlinevirtual

Checks if the stack is empty.

Returns
true, if the stack is empty

◆ GetStack()

virtual Stack<ITagWorker> iText.Html2pdf.Attach.State.GetStack ( )
inlinevirtual

Gets the stack.

Returns
the stack

◆ Pop()

virtual ITagWorker iText.Html2pdf.Attach.State.Pop ( )
inlinevirtual

Pops a ITagWorker from the stack.

Returns
the tag worker

◆ Push()

virtual void iText.Html2pdf.Attach.State.Push ( ITagWorker  tagWorker)
inlinevirtual

Pushes a ITagWorker instance to the stack.

Parameters
tagWorkerthe tag worker

◆ Top()

virtual ITagWorker iText.Html2pdf.Attach.State.Top ( )
inlinevirtual

Peeks at the ITagWorker at the top of the stack.

Returns
the tag worker at the top