|
Container System 0.1.0
High-performance C++20 type-safe container framework with SIMD-accelerated serialization
|
Namespaces | |
| namespace | async |
| namespace | detail |
| Compile-time verification of type alignment. | |
| namespace | factory |
| Modern factory namespace for creating value instances. | |
| namespace | integration |
| namespace | internal |
| namespace | simd |
Classes | |
| struct | array_variant |
| Recursive array type for variant. More... | |
| class | auto_refresh_reader |
| Auto-refreshing lock-free reader. More... | |
| class | epoch_guard |
| RAII guard for epoch critical section. More... | |
| class | epoch_manager |
| Epoch-based memory reclamation for lock-free data structures. More... | |
| struct | is_variant_type_v2 |
| Type traits for variant types. More... | |
| struct | is_variant_type_v2< array_variant > |
| struct | is_variant_type_v2< bool > |
| struct | is_variant_type_v2< double > |
| struct | is_variant_type_v2< float > |
| struct | is_variant_type_v2< int16_t > |
| struct | is_variant_type_v2< int32_t > |
| struct | is_variant_type_v2< int64_t > |
| struct | is_variant_type_v2< std::monostate > |
| struct | is_variant_type_v2< std::shared_ptr< thread_safe_container > > |
| struct | is_variant_type_v2< std::string > |
| struct | is_variant_type_v2< std::vector< uint8_t > > |
| struct | is_variant_type_v2< uint16_t > |
| struct | is_variant_type_v2< uint32_t > |
| struct | is_variant_type_v2< uint64_t > |
| class | lockfree_container_reader |
| True lock-free reader using RCU (Read-Copy-Update) pattern. More... | |
| class | rcu_value |
| Lock-free value wrapper using Read-Copy-Update (RCU) pattern. More... | |
| class | snapshot_reader |
| Snapshot-based reader for frequently accessed data. More... | |
| class | thread_safe_container |
| Thread-safe container with lock optimization. More... | |
| class | value |
| Enhanced type-safe value with perfect legacy compatibility. More... | |
| struct | value_index_entry |
| Value index entry for lazy parsing. More... | |
| class | value_view |
| Zero-copy value view for efficient read access. More... | |
Typedefs | |
| using | lockfree_reader = snapshot_reader |
| using | ValueVariant |
| Type-aligned variant matching value_types enum EXACTLY. | |
Functions | |
| std::ostream & | operator<< (std::ostream &out, value_container &other) |
| std::ostream & | operator<< (std::ostream &out, std::shared_ptr< value_container > other) |
| std::string & | operator<< (std::string &out, value_container &other) |
| std::string & | operator<< (std::string &out, std::shared_ptr< value_container > other) |
| value_types | convert_value_type (const std::string &target) |
| std::string | convert_value_type (const value_types &target) |
| value | make_value_from_raw (std::string_view name, value_types type, const std::vector< uint8_t > &raw_data) |
| Create a value from value_types enum and raw data. | |
| value | clone_with_name (const value &original, std::string_view new_name) |
| Create a copy of a value with a new name. | |
| bool | same_type (const value &a, const value &b) |
| Check if two values have the same type. | |
| std::string_view | type_name (const value &value) |
| Get human-readable type name. | |
Variables | |
| constexpr int | TARGET_ID = 1 |
| constexpr int | TARGET_SUB_ID = 2 |
| constexpr int | SOURCE_ID = 3 |
| constexpr int | SOURCE_SUB_ID = 4 |
| constexpr int | MESSAGE_TYPE = 5 |
| constexpr int | MESSAGE_VERSION = 6 |
| template<typename T > | |
| constexpr bool | is_variant_type_v2_v = is_variant_type_v2<T>::value |
Definition at line 794 of file thread_safe_container.h.
Type-aligned variant matching value_types enum EXACTLY.
CRITICAL: The order of types MUST match value_types enum (0-15) This ensures variant::index() == static_cast<size_t>(value_types)
Index mapping verification:
|
inline |
Create a copy of a value with a new name.
Definition at line 166 of file variant_value_factory.h.
References kcenon::container::value::deserialize(), and kcenon::container::value::serialize().

| value_types kcenon::container::convert_value_type | ( | const std::string & | target | ) |
Definition at line 9 of file value_types.cpp.
| std::string kcenon::container::convert_value_type | ( | const value_types & | target | ) |
Definition at line 15 of file value_types.cpp.
|
inline |
Create a value from value_types enum and raw data.
This is the low-level factory that mirrors the legacy system's constructor. Prefer value constructors or factory::make<T>() when the type is known at compile time.
| name | Value name |
| type | The value_types enum |
| raw_data | Binary data for the value |
| std::runtime_error | if type is unsupported or data is invalid |
Definition at line 153 of file variant_value_factory.h.
| std::ostream & kcenon::container::operator<< | ( | std::ostream & | out, |
| std::shared_ptr< value_container > | other ) |
Definition at line 1848 of file container.cpp.
References operator<<().

| std::ostream & kcenon::container::operator<< | ( | std::ostream & | out, |
| value_container & | other ) |
Definition at line 1841 of file container.cpp.
References operator<<().
Referenced by operator<<(), operator<<(), operator<<(), and operator<<().


| std::string & kcenon::container::operator<< | ( | std::string & | out, |
| std::shared_ptr< value_container > | other ) |
Definition at line 1866 of file container.cpp.
References operator<<().

| std::string & kcenon::container::operator<< | ( | std::string & | out, |
| value_container & | other ) |
Definition at line 1859 of file container.cpp.
References operator<<().

Check if two values have the same type.
Definition at line 182 of file variant_value_factory.h.
References kcenon::container::value::type().

|
inline |
Get human-readable type name.
Definition at line 189 of file variant_value_factory.h.
References kcenon::container::value::type().

|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 36 of file container.cpp.
|
inlineconstexpr |
Definition at line 37 of file container.cpp.
|
inlineconstexpr |
Definition at line 34 of file container.cpp.
|
inlineconstexpr |
Definition at line 35 of file container.cpp.
|
inlineconstexpr |
Definition at line 32 of file container.cpp.
|
inlineconstexpr |
Definition at line 33 of file container.cpp.