aermicioi.aedi_property_reader.convertor.placeholder

Members

Classes

ConvertorAndOriginalAwarePlaceholderImpl
class ConvertorAndOriginalAwarePlaceholderImpl(T)

Implementation of Placeholder!T.

OriginalAwarePlaceholderImpl
class OriginalAwarePlaceholderImpl(T)

Implementation of Placeholder!T.

PlaceholderImpl
class PlaceholderImpl(T)

Implementation of Placeholder!T.

Functions

allocatorOf
RCIAllocator allocatorOf(T object)
RCIAllocator allocatorOf(T component)
RCIAllocator allocatorOf(T allocator)
const(RCIAllocator) allocatorOf(T allocator)
immutable(RCIAllocator) allocatorOf(T allocator)
RCIAllocator allocatorOf(T object, RCIAllocator allocator)

Identify the allocator used to convert component.

convertorOf
const(Convertor) convertorOf(T object)
Convertor convertorOf(T component)
Convertor convertorOf(T convertor)
const(Convertor) convertorOf(T convertor)
immutable(Convertor) convertorOf(T convertor)

Identify the convertor used to convert component.

identify
const(TypeInfo) identify(T object)
const(TypeInfo) identify(T component)
T identify(T typeinfo)

Identify the type of object.

original
const(TypeInfo) original(T object)
TypeInfo original(T component)
TypeInfo original(T typeinfo)
const(TypeInfo) original(T typeinfo)
immutable(TypeInfo) original(T typeinfo)
const(TypeInfo) original(T object, TypeInfo from)

Identify the original type of converted component.

pack
ConvertorAndOriginalAwarePlaceholderImpl!T pack(T value, From from, Convertor convertor, RCIAllocator allocator)
OriginalAwarePlaceholderImpl!T pack(T value, From from, RCIAllocator allocator)
PlaceholderImpl!T pack(T value, RCIAllocator allocator)
packWithStorageClass
auto packWithStorageClass(T value, TypeInfo from, Convertor convertor, RCIAllocator allocator)
auto packWithStorageClass(T value, TypeInfo from, RCIAllocator allocator)
auto packWithStorageClass(T value, RCIAllocator allocator)

Wrap up a value in a placeholding object.

stored
auto stored(T value, TypeInfo from, Convertor convertor)
auto stored(T value, TypeInfo from)
auto stored(T value)

Wrap up a value in a placeholding object stored on stack instead of allocator.

unpack
T unpack(Object object, RCIAllocator allocator)

Downcast object to type T, or destructively unwrap it from Placeholder!T.

unpack
T unpack(Object object, RCIAllocator allocator)
Undocumented in source. Be warned that the author may not have intended to support it.
unpack
Z unpack(T placeholder, RCIAllocator allocator)

Downcast object to type T, or destructively unwrap it from Placeholder!T.

unwrap
T unwrap(inout(Object) object)
T unwrap(T placeholder)

Downcast object to type T, or unwrap it from Placeholder!T.

unwrap
T unwrap(inout(Object) object)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

AllocatorAware
interface AllocatorAware

Interface for objects aware of allocator used in conversion of contained component.

ConvertorAware
interface ConvertorAware

Interface for objects that are aware of convertor used to convert to destination type component stored in the implementor.

Destroyable
interface Destroyable

Interface for components that are able to destroy component contained in them using convertor, allocator, and original type converted from.

OriginalTypeAware
interface OriginalTypeAware

Interface for objects that are aware of original type from which containing value was created.

Placeholder
interface Placeholder(T)

Interface for objects that can hold a value in.

TypeAware
interface TypeAware

Interface for objects that are aware of a type and can provide it.

Meta

License

Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:

The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Authors

Alexandru Ermicioi