FCF 2.0 development in progress...
> >
[News] [C++ Libraries API] [C++ Downloads] [Donate to the project] [Contacts]

Package fcfBasis

fcfBasis is a C++ library (C++11) providing a meta-type system, dynamic function call dispatching, a universal data container (fcf::Variant), and generic iteration tools.

The library is designed for creating systems where data types, functions, and their interactions are defined or modified at runtime, while maintaining performance through caching and compile-time optimizations.

Constants
int fcf::DefaultVariantBufferSize = fcf::MetaTypeMaxTypeSize<std::string, std::wstring, std::map<std::string, std::string> >::size
- The enum value size of the static buffer for the object fcf::Variant by default.
Typedef
typedef fcf::Variant - Default fcf::BasicVariant class
typedef fcf::ConvertFunction - The signature of a function to convert data to a specific type.
Classes
template <size_t innerBufferSize>
fcf::BasicVariant

- A type-safe, dynamic variant class capable of holding values of various types
- Convert options. The structure is not used in the implementation, but reserved for the future.
template <typename Ty>
fcf::Type

- A template class that provides access to metadata and runtime information for a specific type.
- Structure containing metadata and runtime information for a registered type.
- Structure containing information about a specificator operator
- This specificator retrieves information about the stored object of the specified type. For example, the data type contained in the specified fcf::Variant object.
- The structure describing the information returned by the fcf::ResolveSpecificator specificator. Structure containing resolved data, its type index, and invariance information.
- A specificator used to perform 'less than' (<) comparisons between objects.
Functions
const fcf::TypeInfo* fcf::getTypeInfo(unsigned int a_typeIndex)
const fcf::TypeInfo* fcf::getTypeInfo(unsigned int a_typeIndex, fcf::Exception* a_errorDst)
- It extracts information about the type given in the function argument in the form of a type index.