#include <set.h>
Public Types | |
using | SetType = typename std::decay< SET >::type |
using | ValueType = typename SetType::ValueType |
using | Super = typename std::conditional< CONSTSET||!REFERENCE, SetInterface< ValueType >, NonConstSet< ValueType > >::type |
using | Interface = typename Super::Interface |
using | Iterator = typename Interface::Iterator |
using | ConstIterator = typename Interface::ConstIterator |
Static Public Attributes | |
static const Bool | CONSTSET |
static const Bool | REFERENCE |
Private Member Functions | |
MAXON_DISALLOW_COPY_AND_ASSIGN (SetImpl) | |
Static Private Member Functions | |
static SetType::Iterator & | GetIterator (Iterator *it) |
static SetType::ConstIterator & | GetIterator (ConstIterator *it) |
static const SetType::Iterator & | GetIterator (const Iterator *it) |
static const SetType::ConstIterator & | GetIterator (const ConstIterator *it) |
Private Attributes | |
SET | _set |
using ValueType = typename SetType::ValueType |
using Super = typename std::conditional<CONSTSET || !REFERENCE, SetInterface<ValueType>, NonConstSet<ValueType> >::type |
using Interface = typename Super::Interface |
using Iterator = typename Interface::Iterator |
using ConstIterator = typename Interface::ConstIterator |
SetImpl | ( | ) |
|
explicit |
MAXON_IMPLEMENTATION_SIMPLE | ( | SetImpl< SET > | ) |
Int GetCount | ( | ) | const |
Result<void> Insert | ( | const ValueType & | value, |
Bool & | added = BoolLValue() |
||
) |
Result<void> Insert | ( | ValueType && | value, |
Bool & | added = BoolLValue() |
||
) |
String ToString | ( | const FormatStatement * | formatStatement = nullptr | ) | const |
Int GetMemorySize | ( | ) | const |
const DataType& GetValueDataType | ( | ) | const |
void Reset | ( | ) |
void Flush | ( | ) |
void IteratorInit | ( | ConstIterator * | it, |
Bool | end | ||
) | const |
void IteratorInitMove | ( | ConstIterator * | dest, |
ConstIterator * | src | ||
) | const |
void IteratorFree | ( | Iterator * | it | ) | const |
void IteratorFree | ( | ConstIterator * | it | ) | const |
Bool IteratorIsEqual | ( | const ConstIterator * | a, |
const ConstIterator * | b | ||
) | const |
void IteratorInc | ( | Iterator * | it | ) | const |
void IteratorInc | ( | ConstIterator * | it | ) | const |
const ValueType* IteratorGet | ( | const ConstIterator * | it | ) | const |
std::add_lvalue_reference<SET>::type GetSet | ( | ) |
const SetType& GetSet | ( | ) | const |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
static |
|
static |
|
private |