Tenncor
Classes | Namespaces | Typedefs | Functions
tag.hpp File Reference
#include <map>
#include <set>
#include "teq/teq.hpp"
Include dependency graph for tag.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tag::iTag
 
struct  tag::TagCollective
 Collective of generic iTag instances. More...
 
struct  tag::TensKey
 Tensor ref key wrapper. More...
 
struct  tag::TensKeyHash
 TensKey hasher. More...
 
struct  tag::TagRegistry
 Registry for associating tensors to tag collectives. More...
 
struct  tag::Query
 

Namespaces

 tag
 

Typedefs

using tag::TagRepsT = std::map< std::string, std::vector< std::string > >
 Map tag key to a series of labels. More...
 
using tag::TagptrT = std::unique_ptr< iTag >
 Unique pointer of tag. More...
 
using tag::TagrF = std::function< void(teq::TensrefT, std::string)>
 Function that associate tag key to tensor ref. More...
 
using tag::LTensT = std::unordered_map< std::string, std::vector< teq::iTensor * > >
 Map tag label to any tensor with label. More...
 
using tag::TTensT = std::unordered_map< std::string, LTensT >
 Map tag key to label-tensor association. More...
 

Functions

bool tag::operator== (const TensKey &lhs, const TensKey &rhs)
 TensKey equality overload. More...
 
TagRegistry & tag::get_reg (void)
 Return reference to global tag registry. More...
 
void tag::recursive_tag (teq::TensptrT root, teq::TensSetT stops, std::function< void(teq::TensrefT)> tag_op)