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

messagepattern.h File Reference

C++ API: MessagePattern class: Parses and represents ICU MessageFormat patterns. More...

#include "unicode/utypes.h"
#include "unicode/parseerr.h"
#include "unicode/unistr.h"
Include dependency graph for messagepattern.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MessagePattern
class  MessagePattern::Part

Defines

#define UMSGPAT_NO_NUMERIC_VALUE   ((double)(-123456789))

Typedefs

typedef enum
UMessagePatternApostropheMode 
UMessagePatternApostropheMode
typedef enum UMessagePatternArgType UMessagePatternArgType
typedef enum
UMessagePatternPartType 
UMessagePatternPartType

Enumerations

enum  { UMSGPAT_ARG_NAME_NOT_NUMBER = -1, UMSGPAT_ARG_NAME_NOT_VALID = -2 }
enum  UMessagePatternApostropheMode { UMSGPAT_APOS_DOUBLE_OPTIONAL, UMSGPAT_APOS_DOUBLE_REQUIRED }
enum  UMessagePatternArgType {
  UMSGPAT_ARG_TYPE_NONE, UMSGPAT_ARG_TYPE_SIMPLE, UMSGPAT_ARG_TYPE_CHOICE, UMSGPAT_ARG_TYPE_PLURAL,
  UMSGPAT_ARG_TYPE_SELECT
}
enum  UMessagePatternPartType {
  UMSGPAT_PART_TYPE_MSG_START, UMSGPAT_PART_TYPE_MSG_LIMIT, UMSGPAT_PART_TYPE_SKIP_SYNTAX, UMSGPAT_PART_TYPE_INSERT_CHAR,
  UMSGPAT_PART_TYPE_REPLACE_NUMBER, UMSGPAT_PART_TYPE_ARG_START, UMSGPAT_PART_TYPE_ARG_LIMIT, UMSGPAT_PART_TYPE_ARG_NUMBER,
  UMSGPAT_PART_TYPE_ARG_NAME, UMSGPAT_PART_TYPE_ARG_TYPE, UMSGPAT_PART_TYPE_ARG_STYLE, UMSGPAT_PART_TYPE_ARG_SELECTOR,
  UMSGPAT_PART_TYPE_ARG_INT, UMSGPAT_PART_TYPE_ARG_DOUBLE
}

Detailed Description

C++ API: MessagePattern class: Parses and represents ICU MessageFormat patterns.

Definition in file messagepattern.h.


Generated by  Doxygen 1.6.0   Back to index