![]() |
NIM 跨平台 C++ SDK
|
命名空间 | |
namespace | detail |
namespace | placeholders |
namespace | traits |
类型定义 | |
typedef nstd::atomic< bool > | atomic_bool |
typedef nstd::atomic< char > | atomic_char |
typedef nstd::atomic< int8_t > | atomic_schar |
typedef nstd::atomic< uint8_t > | atomic_uchar |
typedef nstd::atomic< int16_t > | atomic_short |
typedef nstd::atomic< uint16_t > | atomic_ushort |
typedef nstd::atomic< int32_t > | atomic_int |
typedef nstd::atomic< uint32_t > | atomic_uint |
typedef nstd::atomic< int32_t > | atomic_long |
typedef nstd::atomic< uint32_t > | atomic_ulong |
typedef nstd::atomic< int64_t > | atomic_llong |
typedef nstd::atomic< uint64_t > | atomic_ullong |
typedef struct nstd::_weak_flag | weak_flag |
typedef struct nstd::_weak_semantics_supporter | weak_semantics_supporter |
template<class T > | |
using | is_std_function = traits::_is_std_function< T > |
template<class... T> | |
using | has_std_function = traits::_has_std_function< T... > |
template<class TElement , element_malloc_fun_t< TElement > _malloc = memory::safe_malloc_container_element<TElement>, element_delete_fun_t< TElement > _delete = memory::safe_delete_container_element<TElement>> | |
using | continuous_container = _continuous_container< TElement, _malloc, _delete > |
template<class TElement , element_malloc_fun_t< TElement > _malloc = memory::safe_malloc_container_element<TElement>, element_delete_fun_t< TElement > _delete = memory::safe_delete_container_element<TElement>> | |
using | vector = continuous_container< TElement, _malloc, _delete > |
using | unregister_delegate_t = nstd::function< void(void)> |
!thread safe | |
using | unregister_delegator_t = _unregister_delegator |
template<typename t_delegator > | |
using | delegator_storage_t = _delegator_storage< t_delegator > |
template<class TElement > | |
using | iterator_type = nstd::_iterator_type< TElement > |
template<class TElement > | |
using | const_iterator = nstd::_const_iterator< TElement > |
template<class TElement > | |
using | iterator = _iterator< TElement > |
template<class TElement > | |
using | const_pointer = nstd::const_iterator< TElement > |
template<class TElement > | |
using | pointer = nstd::iterator< TElement > |
template<class TElement > | |
using | const_reverse_iterator = nstd::_const_reverse_iterator< TElement > |
template<class TElement > | |
using | reverse_iterator = nstd::_reverse_iterator< TElement > |
template<class K > | |
using | hash_default_hash = phmap::priv::hash_default_hash< K > |
template<class K > | |
using | hash_default_eq = phmap::priv::hash_default_eq< K > |
template<class K , class V > | |
using | Pair = phmap::priv::Pair< const K, V > |
template<class K > | |
using | Allocator = phmap::priv::Allocator< K > |
using | NullMutex = phmap::NullMutex |
template<class TElement > | |
using | element_malloc_fun_t = TElement *(*)(std::size_t) |
template<class TElement > | |
using | element_delete_fun_t = void(*)(TElement *&) |
template<class T > | |
using | optional = _optional< T > |
template<class T > | |
using | shared_ptr = nstd::_shared_ptr< T > |
template<class T > | |
using | weak_ptr = nstd::_weak_ptr< T > |
using | spinlock = _spinlock |
using | lock_guard = _lock_guard |
using | string = _string<> |
using | handle_t = uint32_t |
using | handle_generator = handle_generator_impl< default_context_t, def_max_handle_value::value, def_base_handle_value::value > |
using | em_cove = _enum_converter |
template<int32_t N> | |
using | sequence_t = typename int_sequence_gen< N >::type |
template<typename T , T _value> | |
using | integral_constant = _integral_constant< T, _value > |
template<bool _value> | |
using | bool_constant = integral_constant< bool, _value > |
using | true_type = bool_constant< true > |
using | false_type = bool_constant< false > |
template<typename T > | |
using | is_standard_layout = std::is_standard_layout< T > |
template<typename... T> | |
using | is_all_standard_layout = traits::_is_all_standard_layout< T... > |
using | container_npos = _container_npos |
using | container_increase_step = _container_increase_step |
template<stateful_bool _value> | |
using | stateful_bool_constant = integral_constant< stateful_bool, _value > |
using | stateful_bool_unused = stateful_bool_constant< stateful_bool::kUnused > |
using | stateful_bool_true = stateful_bool_constant< stateful_bool::kTrue > |
using | stateful_bool_false = stateful_bool_constant< stateful_bool::kFalse > |
枚举 | |
enum class | EM_Byte_Endian_Order { big_endian = 0 , little_endian = 1 } |
enum class | stateful_bool : int32_t { kBegin = -1 , kUnused = kBegin , kFalse = 0 , kTrue = 1 , kEnd } |
函数 | |
template<typename _ValueType > | |
_ValueType * | any_cast (any *operand) |
template<typename _ValueType > | |
const _ValueType * | any_cast (const any *operand) |
template<typename _ValueType > | |
_ValueType | any_cast (any &operand) |
template<typename _ValueType > | |
_ValueType | any_cast (const any &operand) |
template<typename _ValueType > | |
_ValueType * | UnsafeanyCast (any *operand) |
template<typename _ValueType > | |
const _ValueType * | UnsafeanyCast (const any *operand) |
template<typename R , typename C , typename... Args, typename... Params> | |
bind_t< R, C, R(C::*)(Args...), nstd::tuple< Params... > > | bind (R(C::*f)(Args...), C *obj, Params... params) |
template<typename R , typename C , typename... Args, typename... Params> | |
bind_t< R, C, R(C::*)(Args...) const, nstd::tuple< Params... > > | bind (R(C::*f)(Args...) const, C *obj, Params... params) |
template<class T , class... TArgs> | |
nstd::shared_ptr< T > | make_shared (TArgs &&... args) |
template<class T1 , class T2 > | |
shared_ptr< T1 > | dynamic_pointer_cast (const shared_ptr< T2 > &other) noexcept |
template<typename TEnum , typename TIntegral , typename nstd::enable_if< std::is_integral< TIntegral >::value, std::nullptr_t >::type = nullptr> | |
TEnum & | enum_cast (const TIntegral &_i_v) |
template<typename TEnum > | |
int32_t & | enum_cast (TEnum &_e_v) |
template<typename T , size_t N> | |
char(& | ArraySizeHelper (T(&array)[N]))[N] |
template<uint32_t N, typename... TArgs> | |
const tuple_at< N, tuple< TArgs... > >::value_type & | tuple_get (const tuple< TArgs... > &tuple_) |
template<uint32_t N, typename... TArgs> | |
tuple_at< N, tuple< TArgs... > >::value_type | tuple_get (tuple< TArgs... > &tuple_) |
template<typename... Type> | |
tuple< Type... > | make_tuple (const Type &... args) |
template<typename TTuple , uint32_t... Ns> | |
auto | extract_tuple (TTuple &tup) -> decltype(make_tuple(tuple_get< Ns >(tup)...)) |
template<uint32_t... Ns, typename... TArgs> | |
auto | extract_tuple (tuple< TArgs... > &tup) -> decltype(make_tuple(tuple_get< Ns >(tup)...)) |
template<class first_type , class second_type > | |
pair< first_type, second_type > | make_pair (const first_type &_first, const second_type &_second) |
变量 | |
constexpr std::nullopt_t | nullopt = std::nullopt |
using nstd::Allocator = typedef phmap::priv::Allocator<T> |
typedef nstd::atomic<bool> nstd::atomic_bool |
typedef nstd::atomic<char> nstd::atomic_char |
typedef nstd::atomic<int32_t> nstd::atomic_int |
typedef nstd::atomic<int64_t> nstd::atomic_llong |
typedef nstd::atomic<int32_t> nstd::atomic_long |
typedef nstd::atomic<int8_t> nstd::atomic_schar |
typedef nstd::atomic<int16_t> nstd::atomic_short |
typedef nstd::atomic<uint8_t> nstd::atomic_uchar |
typedef nstd::atomic<uint32_t> nstd::atomic_uint |
typedef nstd::atomic<uint64_t> nstd::atomic_ullong |
typedef nstd::atomic<uint32_t> nstd::atomic_ulong |
typedef nstd::atomic<uint16_t> nstd::atomic_ushort |
using nstd::bool_constant = typedef integral_constant<bool, _value> |
using nstd::const_iterator = typedef nstd::_const_iterator<TElement> |
using nstd::const_pointer = typedef nstd::const_iterator<TElement> |
using nstd::const_reverse_iterator = typedef nstd::_const_reverse_iterator<TElement> |
using nstd::container_increase_step = typedef _container_increase_step |
using nstd::container_npos = typedef _container_npos |
using nstd::continuous_container = typedef _continuous_container<TElement, _malloc, _delete> |
using nstd::delegator_storage_t = typedef _delegator_storage<t_delegator> |
using nstd::element_delete_fun_t = typedef void (*)(TElement*&) |
using nstd::element_malloc_fun_t = typedef TElement* (*)(std::size_t ) |
using nstd::em_cove = typedef _enum_converter |
using nstd::false_type = typedef bool_constant<false> |
using nstd::handle_generator = typedef handle_generator_impl<default_context_t, def_max_handle_value::value, def_base_handle_value::value> |
using nstd::handle_t = typedef uint32_t |
using nstd::has_std_function = typedef traits::_has_std_function<T...> |
using nstd::hash_default_eq = typedef phmap::priv::hash_default_eq<T> |
using nstd::hash_default_hash = typedef phmap::priv::hash_default_hash<T> |
using nstd::integral_constant = typedef _integral_constant<T, _value> |
using nstd::is_all_standard_layout = typedef traits::_is_all_standard_layout<T...> |
using nstd::is_standard_layout = typedef std::is_standard_layout<T> |
using nstd::is_std_function = typedef traits::_is_std_function<T> |
using nstd::iterator = typedef _iterator<TElement> |
using nstd::iterator_type = typedef nstd::_iterator_type<TElement> |
using nstd::lock_guard = typedef _lock_guard |
typedef phmap::NullMutex nstd::NullMutex |
using nstd::optional = typedef _optional<T> |
using nstd::Pair = typedef phmap::priv::Pair<const K, V> |
using nstd::pointer = typedef nstd::iterator<TElement> |
using nstd::reverse_iterator = typedef nstd::_reverse_iterator<TElement> |
using nstd::sequence_t = typedef typename int_sequence_gen<N>::type |
using nstd::shared_ptr = typedef nstd::_shared_ptr<T> |
using nstd::spinlock = typedef _spinlock |
using nstd::stateful_bool_constant = typedef integral_constant<stateful_bool, _value> |
using nstd::stateful_bool_false = typedef stateful_bool_constant<stateful_bool::kFalse> |
using nstd::stateful_bool_true = typedef stateful_bool_constant<stateful_bool::kTrue> |
using nstd::stateful_bool_unused = typedef stateful_bool_constant<stateful_bool::kUnused> |
using nstd::string = typedef _string<> |
using nstd::true_type = typedef bool_constant<true> |
using nstd::unregister_delegate_t = typedef nstd::function<void(void)> |
!thread safe
using nstd::unregister_delegator_t = typedef _unregister_delegator |
using nstd::vector = typedef continuous_container<TElement, _malloc, _delete> |
typedef struct nstd::_weak_flag nstd::weak_flag |
using nstd::weak_ptr = typedef nstd::_weak_ptr<T> |
typedef struct nstd::_weak_semantics_supporter nstd::weak_semantics_supporter |
|
strong |
|
strong |
_ValueType nstd::any_cast | ( | any & | operand | ) |
_ValueType * nstd::any_cast | ( | any * | operand | ) |
|
inline |
|
inline |
char(& nstd::ArraySizeHelper | ( | T(&) | array[N] | ) | )[N] |
bind_t< R, C, R(C::*)(Args...) const, nstd::tuple< Params... > > nstd::bind | ( | R(C::*)(Args...) const | f, |
C * | obj, | ||
Params... | params | ||
) |
bind_t< R, C, R(C::*)(Args...), nstd::tuple< Params... > > nstd::bind | ( | R(C::*)(Args...) | f, |
C * | obj, | ||
Params... | params | ||
) |
|
noexcept |
TEnum & nstd::enum_cast | ( | const TIntegral & | _i_v | ) |
int32_t & nstd::enum_cast | ( | TEnum & | _e_v | ) |
auto nstd::extract_tuple | ( | TTuple & | tup | ) | -> decltype(make_tuple(tuple_get<Ns>(tup)...)) |
auto nstd::extract_tuple | ( | tuple< TArgs... > & | tup | ) | -> decltype(make_tuple(tuple_get<Ns>(tup)...)) |
pair< first_type, second_type > nstd::make_pair | ( | const first_type & | _first, |
const second_type & | _second | ||
) |
nstd::shared_ptr< T > nstd::make_shared | ( | TArgs &&... | args | ) |
tuple< Type... > nstd::make_tuple | ( | const Type &... | args | ) |
const tuple_at< N, tuple< TArgs... > >::value_type & nstd::tuple_get | ( | const tuple< TArgs... > & | tuple_ | ) |
tuple_at< N, tuple< TArgs... > >::value_type nstd::tuple_get | ( | tuple< TArgs... > & | tuple_ | ) |
|
inline |
|
inline |
|
inlineconstexpr |