ICU 77.1
77.1
|
The Markup
class corresponds to the markup
nonterminal in the MessageFormat 2 grammar and the markup
interface defined in https://github.com/unicode-org/message-format-wg/blob/main/spec/data-model/message.json.
More...
#include <messageformat2_data_model.h>
Data Structures | |
class | Builder |
The mutable Markup::Builder class allows the markup to be constructed incrementally. More... | |
Public Member Functions | |
UBool | isOpen () const |
Checks if this markup is an opening tag. More... | |
UBool | isClose () const |
Checks if this markup is an closing tag. More... | |
UBool | isStandalone () const |
Checks if this markup is an standalone tag. More... | |
const UnicodeString & | getName () const |
Gets the name of this markup. More... | |
std::vector< Option > | getOptions () const |
Gets the options of this markup. More... | |
std::vector< Option > | getAttributes () const |
Gets the attributes of this markup. More... | |
Markup () | |
Default constructor. More... | |
virtual | ~Markup () |
Destructor. More... | |
![]() | |
virtual | ~UObject () |
Destructor. More... | |
virtual UClassID | getDynamicClassID () const |
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. More... | |
Friends | |
class | Builder |
class | message2::Serializer |
The Markup
class corresponds to the markup
nonterminal in the MessageFormat 2 grammar and the markup
interface defined in https://github.com/unicode-org/message-format-wg/blob/main/spec/data-model/message.json.
Markup
is immutable, copyable and movable.
Definition at line 1050 of file messageformat2_data_model.h.
|
inline |
Default constructor.
Puts the Markup into a valid but undefined state.
Definition at line 1113 of file messageformat2_data_model.h.
|
virtual |
Destructor.
|
inline |
Gets the attributes of this markup.
Definition at line 1105 of file messageformat2_data_model.h.
|
inline |
Gets the name of this markup.
Definition at line 1087 of file messageformat2_data_model.h.
|
inline |
Gets the options of this markup.
Definition at line 1096 of file messageformat2_data_model.h.
|
inline |
Checks if this markup is an closing tag.
Definition at line 1069 of file messageformat2_data_model.h.
|
inline |
Checks if this markup is an opening tag.
Definition at line 1060 of file messageformat2_data_model.h.
|
inline |
Checks if this markup is an standalone tag.
Definition at line 1078 of file messageformat2_data_model.h.