Logo Search packages:      
Sourcecode: icu version File versions

uint8_t * RuleBasedCollator::cloneRuleData ( int32_t &  length,
UErrorCode status 
)

Returns the binary format of the class's rules. The format is that of .col files.

Parameters:
lengthReturns the length of the data, in bytes
statusthe error code status.
Returns:
memory, owned by the caller, of size 'length' bytes. ICU 2.2

Definition at line 515 of file tblcoll.cpp.

References ucollator.

Referenced by CollationAPITest::TestRuleBasedColl().

{
    return ucol_cloneRuleData(ucollator, &length, &status);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index