Logo Search packages:      
Sourcecode: icu version File versions  Download package

MessageFormat::~MessageFormat (  )  [virtual]

Destructor. ICU 2.0

Definition at line 368 of file msgfmt.cpp.

References argTypes, defaultNumberFormat, NULL, and subformats.

{
    int32_t idx;
    for (idx = 0; idx < subformatCount; idx++) {
        delete subformats[idx].format;
        delete subformats[idx].argName;
    }
    uprv_free(subformats);
    subformats = NULL;
    subformatCount = subformatCapacity = 0;

    uprv_free(argTypes);
    argTypes = NULL;
    argTypeCount = argTypeCapacity = 0;

    uprv_free(formatAliases);

    delete defaultNumberFormat;
    delete defaultDateFormat;
}


Generated by  Doxygen 1.6.0   Back to index