C# Class Nanook.QueenBee.Parser.QbKey

Exibir arquivo Open project: Nanook/Queen-Bee Class Usage Examples

Public Methods

Method Description
Clone ( ) : QbKey
Create ( string text ) : QbKey

Create a QbKey from a string, the string can be an ascii CRC

Create ( uint crc ) : QbKey

Create a QbKey that does not have known text

Create ( uint crc, string text ) : QbKey

Create a QbKey that has an already known CRC and Text

Equals ( object obj ) : bool
FormatText ( string text ) : string
GetHashCode ( ) : int
ToString ( ) : string
operator ( ) : bool

Private Methods

Method Description
QbKey ( ) : System

initCRC32 --> Make the CRC table

QbKey ( uint crc ) : System
QbKey ( uint crc, string text ) : System

Method Details

Clone() public method

public Clone ( ) : QbKey
return QbKey

Create() public static method

Create a QbKey from a string, the string can be an ascii CRC
public static Create ( string text ) : QbKey
text string
return QbKey

Create() public static method

Create a QbKey that does not have known text
public static Create ( uint crc ) : QbKey
crc uint QBKey crc
return QbKey

Create() public static method

Create a QbKey that has an already known CRC and Text
public static Create ( uint crc, string text ) : QbKey
crc uint QBKey crc
text string Text from debug file etc
return QbKey

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FormatText() public static method

public static FormatText ( string text ) : string
text string
return string

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool