C# Class SwfDotNet.IO.ByteCode.Actions.ActionPush

bytecode instruction object
Inheritance: MultiByteAction
Show file Open project: bladecoding/SwfExport Class Usage Examples

Public Properties

Property Type Description
Type int
Value object

Public Methods

Method Description
ActionPush ( int type, object val ) : System

constructor.

Compile ( BinaryWriter w ) : void
CompileBody ( BinaryWriter w ) : void

compile push type and value (but not action code), so method can be used by ActionPushList as well

GetIntValue ( ) : int

get push value as int

GetStringValue ( ) : string

get value as string

ToString ( ) : string

overriden ToString method

Method Details

ActionPush() public method

constructor.
public ActionPush ( int type, object val ) : System
type int push type
val object push value
return System

Compile() public method

public Compile ( BinaryWriter w ) : void
w System.IO.BinaryWriter
return void

CompileBody() public method

compile push type and value (but not action code), so method can be used by ActionPushList as well
public CompileBody ( BinaryWriter w ) : void
w System.IO.BinaryWriter
return void

GetIntValue() public method

get push value as int
public GetIntValue ( ) : int
return int

GetStringValue() public method

get value as string
public GetStringValue ( ) : string
return string

ToString() public method

overriden ToString method
public ToString ( ) : string
return string

Property Details

Type public property

push type
public int Type
return int

Value public property

push value
public object Value
return object