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
Typedefs | Variables
types

Definition

Types definitions.

Typedefs

using xtd::byte = uint8_t
 Represents a 8-bit unsigned integer.
 
using xtd::char16 = char16_t
 Represents a 8-bit unicode character.
 
using xtd::char32 = char32_t
 Represents a 32-bit unicode character.
 
using xtd::char8 = char8_t
 Represents a 16-bit unicode character.
 
using xtd::decimal = decimal_t
 Represents a decimal-precision floating-point number.
 
using xtd::int16 = int16_t
 Represents a 16-bit signed integer.
 
using xtd::int32 = int32_t
 Represents a 32-bit signed integer.
 
using xtd::int64 = int64_t
 Represents a 64-bit signed integer.
 
using xtd::intptr = intptr_t
 Represent a pointer or a handle.
 
using xtd::sbyte = int8_t
 Represents a 8-bit signed integer.
 
using xtd::size = size_t
 Represents a size of any object in bytes.
 
using xtd::tick = std::ratio< 1LL, 10000000LL >
 Represents a tick (1 tick = 100 nanoseconds).
 
using xtd::ticks = std::chrono::duration< long long, tick >
 Represents a tick duration.
 
using xtd::type = std::type_info
 Stores information about a type.
 
using xtd::uchar = unsigned char
 Represents a 8-bit unsigned integer.
 
using xtd::uint = unsigned int
 Represents a 32-bit unsigned integer.
 
using xtd::uint16 = uint16_t
 Represents a 16-bit unsigned integer.
 
using xtd::uint32 = uint32_t
 Represents a 32-bit unsigned integer.
 
using xtd::uint64 = uint64_t
 Represents a 64-bit unsigned integer.
 
using xtd::uintptr = uintptr_t
 Represent a pointer or a handle.
 
using xtd::ulong = ulong_t
 Represents a 32-bit or 64-bit unsigned integer.
 
using xtd::ushort = ushort_t
 Represents a 16-bit unsigned integer.
 
using xtd::wchar = wchar_t
 Represents a wide character.
 

Variables

std::nullptr_t xtd::null
 Represents a null pointer value.
 

Typedef Documentation

◆ byte

using xtd::byte = typedef uint8_t

#include <xtd.core/include/xtd/types.h>

Represents a 8-bit unsigned integer.

Namespace
xtd
Library
xtd.core

◆ char16

using xtd::char16 = typedef char16_t

#include <xtd.core/include/xtd/types.h>

Represents a 8-bit unicode character.

Namespace
xtd
Library
xtd.core

◆ char32

using xtd::char32 = typedef char32_t

#include <xtd.core/include/xtd/types.h>

Represents a 32-bit unicode character.

Namespace
xtd
Library
xtd.core

◆ char8

using xtd::char8 = typedef char8_t

#include <xtd.core/include/xtd/types.h>

Represents a 16-bit unicode character.

Namespace
xtd
Library
xtd.core

◆ decimal

using xtd::decimal = typedef decimal_t

#include <xtd.core/include/xtd/types.h>

Represents a decimal-precision floating-point number.

Namespace
xtd
Library
xtd.core

◆ int16

using xtd::int16 = typedef int16_t

#include <xtd.core/include/xtd/types.h>

Represents a 16-bit signed integer.

Namespace
xtd
Library
xtd.core

◆ int32

using xtd::int32 = typedef int32_t

#include <xtd.core/include/xtd/types.h>

Represents a 32-bit signed integer.

Namespace
xtd
Library
xtd.core

◆ int64

using xtd::int64 = typedef int64_t

#include <xtd.core/include/xtd/types.h>

Represents a 64-bit signed integer.

Namespace
xtd
Library
xtd.core

◆ intptr

using xtd::intptr = typedef intptr_t

#include <xtd.core/include/xtd/types.h>

Represent a pointer or a handle.

◆ sbyte

using xtd::sbyte = typedef int8_t

#include <xtd.core/include/xtd/types.h>

Represents a 8-bit signed integer.

Namespace
xtd
Library
xtd.core

◆ size

using xtd::size = typedef size_t

#include <xtd.core/include/xtd/types.h>

Represents a size of any object in bytes.

Namespace
xtd
Library
xtd.core

◆ tick

using xtd::tick = typedef std::ratio<1LL, 10000000LL>

#include <xtd.core/include/xtd/tick.h>

Represents a tick (1 tick = 100 nanoseconds).

Namespace
xtd
Library
xtd.core

◆ ticks

using xtd::ticks = typedef std::chrono::duration<long long, tick>

#include <xtd.core/include/xtd/ticks.h>

Represents a tick duration.

Namespace
xtd
Library
xtd.core

◆ type

using xtd::type = typedef std::type_info

#include <xtd.core/include/xtd/types.h>

Stores information about a type.

Namespace
xtd
Library
xtd.core

◆ uchar

using xtd::uchar = typedef unsigned char

#include <xtd.core/include/xtd/types.h>

Represents a 8-bit unsigned integer.

Namespace
xtd
Library
xtd.core

◆ uint

using xtd::uint = typedef unsigned int

#include <xtd.core/include/xtd/types.h>

Represents a 32-bit unsigned integer.

Namespace
xtd
Library
xtd.core

◆ uint16

using xtd::uint16 = typedef uint16_t

#include <xtd.core/include/xtd/types.h>

Represents a 16-bit unsigned integer.

Namespace
xtd
Library
xtd.core

◆ uint32

using xtd::uint32 = typedef uint32_t

#include <xtd.core/include/xtd/types.h>

Represents a 32-bit unsigned integer.

Namespace
xtd
Library
xtd.core

◆ uint64

using xtd::uint64 = typedef uint64_t

#include <xtd.core/include/xtd/types.h>

Represents a 64-bit unsigned integer.

Namespace
xtd
Library
xtd.core

◆ uintptr

using xtd::uintptr = typedef uintptr_t

#include <xtd.core/include/xtd/types.h>

Represent a pointer or a handle.

Namespace
xtd
Library
xtd.core

◆ ulong

using xtd::ulong = typedef ulong_t

#include <xtd.core/include/xtd/types.h>

Represents a 32-bit or 64-bit unsigned integer.

Namespace
xtd
Library
xtd.core

◆ ushort

using xtd::ushort = typedef ushort_t

#include <xtd.core/include/xtd/types.h>

Represents a 16-bit unsigned integer.

Namespace
xtd
Library
xtd.core

◆ wchar

using xtd::wchar = typedef wchar_t

#include <xtd.core/include/xtd/types.h>

Represents a wide character.

Namespace
xtd
Library
xtd.core

Variable Documentation

◆ null

std::nullptr_t xtd::null
extern

#include <xtd.core/include/xtd/types.h>

Represents a null pointer value.

Namespace
xtd
Library
xtd.core
Examples
std::unique_ptr<foo_class> foo = std::make_unique<foo_class>();
...
foo = null; // release the unique pointer.
std::nullptr_t null
Represents a null pointer value.