xtd 0.2.0
Loading...
Searching...
No Matches
xtd::environment::xtd_library Class Referencefinal
Inheritance diagram for xtd::environment::xtd_library:
xtd::object

Definition

Represents a xtd library that contains name, version and paths.

Public Properties

const xtd::ustringinclude_path () const noexcept
 Gets The inlcude path of the library.
 
const xtd::ustringlibrary_path () const noexcept
 Gets The library path of the library.
 
const xtd::ustringname () const noexcept
 Gets The name of the library.
 
const xtd::ustringresources_path () const noexcept
 Gets The resource path of the library.
 
const xtd::versionversion () const noexcept
 Gets The version of the library.
 

Public Methods

xtd::ustring to_string () const noexcept override
 Returns a sxd::ustring that represents the current object.
 

Additional Inherited Members

- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object.
 
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.
 
virtual type_object get_type () const noexcept
 Gets the type of the current instance.
 
template<typename object_t >
std::unique_ptr< object_t > memberwise_clone () const noexcept
 Creates a shallow copy of the current object.
 
- 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

◆ include_path()

const xtd::ustring & xtd::environment::xtd_library::include_path ( ) const
noexcept

Gets The inlcude path of the library.

Returns
A string that represents the include path of the library.

◆ library_path()

const xtd::ustring & xtd::environment::xtd_library::library_path ( ) const
noexcept

Gets The library path of the library.

Returns
A string that represents the library path of the library.

◆ name()

const xtd::ustring & xtd::environment::xtd_library::name ( ) const
noexcept

Gets The name of the library.

Returns
A string that represents the name of the library.

◆ resources_path()

const xtd::ustring & xtd::environment::xtd_library::resources_path ( ) const
noexcept

Gets The resource path of the library.

Returns
A string that represents the resource path of the library.

◆ to_string()

xtd::ustring xtd::environment::xtd_library::to_string ( ) const
overridevirtualnoexcept

Returns a sxd::ustring 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.

◆ version()

const xtd::version & xtd::environment::xtd_library::version ( ) const
noexcept

Gets The version of the library.

Returns
An xtd::version object that represents the version of the library.

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