Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | ColumnInfo |
Public Member Functions | |
Select (DataTable table, string filterExpression, string sort, DataViewRowState recordStates) | |
DataRow[] | SelectRows () |
DataRow[] | GetRows () |
Private Member Functions | |
bool | IsSupportedOperator (int op) |
void | AnalyzeExpression (BinaryNode expr) |
bool | CompareSortIndexDesc (IndexField[] fields) |
bool | FindSortIndex () |
int | CompareClosestCandidateIndexDesc (IndexField[] fields) |
bool | FindClosestCandidateIndex () |
void | InitCandidateColumns () |
void | CreateIndex () |
bool | IsOperatorIn (ExpressionNode enode) |
void | BuildLinearExpression () |
bool | AcceptRecord (int record) |
int | Eval (BinaryNode expr, DataRow row, DataRowVersion version) |
int | Evaluate (int record) |
int | FindFirstMatchingRecord () |
int | FindLastMatchingRecord (int lo) |
Range | GetBinaryFilteredRecords () |
int[] | GetLinearFilteredRecords (Range range) |
DataRow[] | GetLinearFilteredRows (Range range) |
int | CompareRecords (int record1, int record2) |
void | Sort (int left, int right) |
Private Attributes | |
readonly DataTable | _table |
readonly IndexField[] | _indexFields |
readonly DataViewRowState | _recordStates |
readonly DataExpression | _rowFilter |
readonly ExpressionNode | _expression |
Index | _index |
int[] | _records |
int | _recordCount |
ExpressionNode | _linearExpression |
bool | _candidatesForBinarySearch |
ColumnInfo[] | _candidateColumns |
int | _nCandidates |
int | _matchedCandidates |