xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
xtd::web::css::property Class Reference

Inherits xtd::object.

Public Member Functions

 property (const xtd::ustring &value)
 
 operator xtd::ustring ()
 
template<typename value_t >
uintptr_t to () const
 
bool to_boolean () const
 
double to_double () const
 
int16_t to_int16 () const
 
int32_t to_int32 () const
 
int64_t to_int64 () const
 
int8_t to_int8 () const
 
intptr_t to_intptr () const
 
float to_single () const
 
xtd::ustring to_string () const noexcept override
 Returns a std::string that represents the current object.
 
uint16_t to_uint16 () const
 
uint32_t to_uint32 () const
 
uint64_t to_uint64 () const
 
uint8_t to_uint8 () const
 
uintptr_t to_uintptr () const
 
const xtd::ustringvalue () const
 
template<typename value_t >
uintptr_t value () const
 
- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object.
 
virtual bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object.
 
virtual size_t get_hash_code () const noexcept
 Serves as a hash function for a particular type.
 
template<typename object_t >
std::unique_ptr< object_t > memberwise_clone () const
 Gets the type of the current instance.
 
virtual xtd::ustring to_string () const noexcept
 Returns a std::string that represents the current object.
 

Static Public Member Functions

static property from (bool value)
 
static property from (const xtd::ustring &value)
 
static property from (double value)
 
static property from (float value)
 
static property from (int16_t value)
 
static property from (int32_t value)
 
static property from (int64_t value)
 
static property from (int8_t value)
 
static property from (uint16_t value)
 
static property from (uint32_t value)
 
static property from (uint64_t value)
 
static property from (uint8_t value)
 
template<typename value_t >
static property from (value_t value)
 
- Static Public Member Functions inherited from xtd::object
static bool equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are considered equal.
 
static bool reference_equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are the same instance.
 

Member Function Documentation

◆ to_string()

xtd::ustring xtd::web::css::property::to_string ( ) const
inlineoverridevirtualnoexcept

Returns a std::string that represents the current object.

Returns
A string that represents the current object.
Examples
The following code example demonstrates what to_string returns.

Reimplemented from xtd::object.


The documentation for this class was generated from the following file: