C# 클래스 Nanook.QueenBee.Parser.QbItemBase

파일 보기 프로젝트 열기: Nanook/Queen-Bee 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Write void
setChildMode void

공개 메소드들

메소드 설명
AddItem ( QbItemBase item ) : void

Add an item to the child collection

AlignPointers ( uint pos ) : uint

Align the pointers to account for any editing, return the position after the current item

Clone ( ) : QbItemBase
Construct ( BinaryEndianReader br, QbItemType type ) : void

Load type data from binary reader

ConstructEnd ( BinaryEndianReader br ) : void

Call after derived class has read its data in Construct()

Create ( QbItemType type ) : void

Load type data from binary reader

FindItem ( QbItemType type, bool recursive ) : QbItemBase
FindItem ( QbKey key, bool recursive ) : QbItemBase
FindItem ( bool recursive, Predicate match ) : QbItemBase
GetItems ( ) : Nanook.QueenBee.Parser.GenericQbItem[]
InsertItem ( QbItemBase item, QbItemBase sibling, bool beforeAfter ) : void

Insert a new item before or after the sibling item.

QbItemBase ( QbFile root ) : System
RemoveItem ( QbItemBase item ) : void

Remove the specified item from this items children

WriteEnd ( BinaryEndianWriter bw ) : void

Call after derived class has written its data in Write()

setQbFormat ( QbItemType type ) : void

보호된 메소드들

메소드 설명
CalcItemCount ( ) : int

Override this when the _items list does not contain the child items

StartLengthCheck ( BinaryEndianWriter bw ) : void
StreamPos ( BinaryEndianReader br ) : uint
StreamPos ( BinaryEndianWriter bw ) : uint
TestLengthCheck ( object sender, BinaryEndianWriter bw ) : ApplicationException

비공개 메소드들

메소드 설명
Write ( BinaryEndianWriter bw ) : void

Write the item to the Binary Writer

setChildMode ( ) : void

메소드 상세

AddItem() 공개 메소드

Add an item to the child collection
public AddItem ( QbItemBase item ) : void
item QbItemBase
리턴 void

AlignPointers() 공개 메소드

Align the pointers to account for any editing, return the position after the current item
public AlignPointers ( uint pos ) : uint
pos uint
리턴 uint

CalcItemCount() 보호된 메소드

Override this when the _items list does not contain the child items
protected CalcItemCount ( ) : int
리턴 int

Clone() 공개 추상적인 메소드

public abstract Clone ( ) : QbItemBase
리턴 QbItemBase

Construct() 공개 메소드

Load type data from binary reader
public Construct ( BinaryEndianReader br, QbItemType type ) : void
br BinaryEndianReader
type QbItemType
리턴 void

ConstructEnd() 공개 메소드

Call after derived class has read its data in Construct()
public ConstructEnd ( BinaryEndianReader br ) : void
br BinaryEndianReader
리턴 void

Create() 공개 메소드

Load type data from binary reader
public Create ( QbItemType type ) : void
type QbItemType
리턴 void

FindItem() 공개 메소드

public FindItem ( QbItemType type, bool recursive ) : QbItemBase
type QbItemType
recursive bool
리턴 QbItemBase

FindItem() 공개 메소드

public FindItem ( QbKey key, bool recursive ) : QbItemBase
key QbKey
recursive bool
리턴 QbItemBase

FindItem() 공개 메소드

public FindItem ( bool recursive, Predicate match ) : QbItemBase
recursive bool
match Predicate
리턴 QbItemBase

GetItems() 공개 메소드

public GetItems ( ) : Nanook.QueenBee.Parser.GenericQbItem[]
리턴 Nanook.QueenBee.Parser.GenericQbItem[]

InsertItem() 공개 메소드

Insert a new item before or after the sibling item.
public InsertItem ( QbItemBase item, QbItemBase sibling, bool beforeAfter ) : void
item QbItemBase Item to insert.
sibling QbItemBase
beforeAfter bool Insert before=True or after=False
리턴 void

QbItemBase() 공개 메소드

public QbItemBase ( QbFile root ) : System
root QbFile
리턴 System

RemoveItem() 공개 메소드

Remove the specified item from this items children
public RemoveItem ( QbItemBase item ) : void
item QbItemBase Item to remove
리턴 void

StartLengthCheck() 보호된 메소드

protected StartLengthCheck ( BinaryEndianWriter bw ) : void
bw BinaryEndianWriter
리턴 void

StreamPos() 보호된 메소드

protected StreamPos ( BinaryEndianReader br ) : uint
br BinaryEndianReader
리턴 uint

StreamPos() 보호된 메소드

protected StreamPos ( BinaryEndianWriter bw ) : uint
bw BinaryEndianWriter
리턴 uint

TestLengthCheck() 보호된 메소드

protected TestLengthCheck ( object sender, BinaryEndianWriter bw ) : ApplicationException
sender object
bw BinaryEndianWriter
리턴 System.ApplicationException

WriteEnd() 공개 메소드

Call after derived class has written its data in Write()
public WriteEnd ( BinaryEndianWriter bw ) : void
bw BinaryEndianWriter
리턴 void

setQbFormat() 공개 메소드

public setQbFormat ( QbItemType type ) : void
type QbItemType
리턴 void