Represent a emoticon with name and codepoints.
Public Fields | |
| static const emoticon | empty () | 
| Represents an empty emoticon.   | |
Public Methods | |
| template<typename object_a_t , typename object_b_t > | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept | 
| Determines whether the specified object instances are considered equal.   | |
| bool | equals (const emoticon &value) const noexcept override | 
| xtd::string | to_string () const noexcept override | 
| Returns a string containing the codepoints of the emoticons.   | |
| virtual bool | equals (const object &obj) const noexcept | 
| Determines whether the specified object is equal to the current object.   | |
Public Constructors | |
| emoticon (const xtd::string &name, std::initializer_list< char32 > codepoints) | |
| Initialize a new instance of emoticon class with specified name and codepoints.   | |
| emoticon (const xtd::string &name, const std::vector< char32 > &codepoints) | |
| Initialize a new instance of emoticon class with specified name and codepoints.   | |
| emoticon (const xtd::string &name, char32 codepoint) | |
| Initialize a new instance of emoticon class with specified name and codepoint.   | |
| emoticon (std::initializer_list< char32 > codepoints) | |
| Initialize a new instance of emoticon class with specified codepoints.   | |
| emoticon (const std::vector< char32 > &codepoints) | |
| Initialize a new instance of emoticon class with specified codepoints.   | |
| emoticon (char32 codepoint) | |
| Initialize a new instance of emoticon class with specified codepoint.   | |
Public Properties | |
| const xtd::string & | name () const noexcept | 
| Gets name of emoticon.   | |
| const std::vector< char32 > & | codepoints () const noexcept | 
| Gets codepoints of emoticon.   | |
Additional Inherited Members | |
  Public Member Functions inherited from xtd::object | |
| object ()=default | |
| Create a new instance of the ultimate base class object.   | |
| virtual size_t | get_hash_code () const noexcept | 
| Serves as a hash function for a particular type.   | |
| virtual type_object | get_type () const noexcept | 
| Gets the type of the current instance.   | |
| template<typename object_t > | |
| xtd::uptr< object_t > | memberwise_clone () const | 
| Creates a shallow copy of the current object.   | |
  Public Member Functions inherited from xtd::iequatable< emoticon > | |
| virtual bool | equals (const emoticon &) const noexcept=0 | 
| Indicates whether the current object is equal to another object of the same type.   | |
  Static Public Member Functions inherited from xtd::object | |
| template<typename object_a_t , typename object_b_t > | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept | 
| Determines whether the specified object instances are considered equal.   | |
| template<typename object_a_t , typename object_b_t > | |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept | 
| Determines whether the specified object instances are the same instance.   | |
| xtd::forms::emoticon::emoticon | ( | const xtd::string & | name, | 
| std::initializer_list< char32 > | codepoints | ||
| ) | 
Initialize a new instance of emoticon class with specified name and codepoints.
| name | A string that represent the name of emoticon | 
| codepoints | An initializer list of char32 that represent the emoticon. | 
| xtd::forms::emoticon::emoticon | ( | const xtd::string & | name, | 
| const std::vector< char32 > & | codepoints | ||
| ) | 
Initialize a new instance of emoticon class with specified name and codepoints.
| name | A string that represent the name of emoticon | 
| codepoints | An array of char32 that represent the emoticon. | 
| xtd::forms::emoticon::emoticon | ( | const xtd::string & | name, | 
| char32 | codepoint | ||
| ) | 
Initialize a new instance of emoticon class with specified name and codepoint.
| name | A string that represent the name of emoticon | 
| codepoint | A char32 that represent the emoticon. | 
      
  | 
  explicit | 
Initialize a new instance of emoticon class with specified codepoints.
| codepoints | An initializer list of char32 that represent the emoticon. | 
      
  | 
  explicit | 
Initialize a new instance of emoticon class with specified codepoints.
| codepoints | An array of char32 that represent the emoticon. | 
      
  | 
  explicit | 
Initialize a new instance of emoticon class with specified codepoint.
| codepoints | A char32 that represent the emoticon. | 
      
  | 
  static | 
Represents an empty emoticon.
      
  | 
  noexcept | 
      
  | 
  noexcept | 
Gets codepoints of emoticon.
      
  | 
  overridevirtualnoexcept | 
Returns a string containing the codepoints of the emoticons.
Reimplemented from xtd::object.
      
  | 
  virtualnoexcept | 
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. | 
Reimplemented from xtd::object.
      
  | 
  inlinestaticnoexcept | 
Determines whether the specified object instances are considered equal.
| object_a | The first object to compare. | 
| object_b | The second object to compare. |