eckit::KDMapped class

Base classes

struct StatCollector

Public types

using Ptr = size_t

Constructors, destructors, conversion operators

KDMapped(const PathName&, size_t itemCount, size_t itemSize, size_t metadataSize)
~KDMapped()
KDMapped(const KDMapped& other)

Public functions

auto operator=(const KDMapped& other) -> KDMapped&
template<class Node>
auto base(const Node*) -> Node*
auto root() const -> Ptr
void root(Ptr r)
template<class Node>
auto convert(Node* p) -> Ptr
template<class Node>
auto convert(Ptr p, const Node* dummy) -> Node*
template<class Node, class A>
auto newNode1(const A& a, const Node* dummy) -> Node*
template<class Node, class A, class B>
auto newNode2(const A& a, const B& b, const Node* dummy) -> Node*
template<class Node, class A, class B, class C>
auto newNode3(const A& a, const B& b, const C& c, const Node* dummy) -> Node*
template<class Node>
void deleteNode(Ptr p, Node* n)
void setMetadata(const void*, size_t)
void getMetadata(void*, size_t)
template<class Metadata>
void setMetadata(const Metadata& meta)
template<class Metadata>
void getMetadata(Metadata& meta)
auto nbItems() const -> size_t
void statsCall()
void statsVisitNode()
void statsDepth(size_t d)
void statsNewCandidateOK()
void statsNewCandidateMiss()
void statsCrossOver()
void statsReset()
void print(std::ostream& s) const
void statsPrint(std::ostream& s, bool fancy) const

Public variables

size_t calls_
size_t nodes_
size_t depth_
size_t newCandidateMiss_
size_t newCandidateOK_
size_t crossOvers_

Function documentation

void eckit::KDMapped::statsCall()

void eckit::KDMapped::statsVisitNode()

void eckit::KDMapped::statsDepth(size_t d)

void eckit::KDMapped::statsNewCandidateOK()

void eckit::KDMapped::statsNewCandidateMiss()

void eckit::KDMapped::statsCrossOver()

void eckit::KDMapped::statsReset()

void eckit::KDMapped::print(std::ostream& s) const

void eckit::KDMapped::statsPrint(std::ostream& s, bool fancy) const

Variable documentation

size_t eckit::KDMapped::calls_

size_t eckit::KDMapped::nodes_

size_t eckit::KDMapped::depth_

size_t eckit::KDMapped::newCandidateMiss_

size_t eckit::KDMapped::newCandidateOK_

size_t eckit::KDMapped::crossOvers_