https://mooseframework.inl.gov
Classes | Namespaces | Functions
TheWarehouse.h File Reference

Go to the source code of this file.

Classes

class  Attribute
 Attribute is an abstract class that can be implemented in order to track custom metadata about MooseObject instances - enabling warehouse queries over the attribute. More...
 
class  AttribSorted
 This attribute describes sorting state. More...
 
struct  std::hash< Attribute >
 This template specialization allows Attributes to be used as unordered map key. More...
 
struct  std::hash< std::vector< std::unique_ptr< Attribute > > >
 This template specialization allows vector<Attribute> to be used as unordered map key. More...
 
class  TheWarehouse
 TheWarehouse is a container for MooseObjects that allows querying/filtering over various customizeable attributes. More...
 
class  TheWarehouse::QueryCache< Attribs >
 QueryCache is a convenient way to construct and pass around (possible partially constructed) warehouse queries. More...
 

Namespaces

 std
 

Functions

bool operator== (const std::unique_ptr< Attribute > &lhs, const std::unique_ptr< Attribute > &rhs)
 TheWarehouse uses this operator function for indexing and caching queries. More...
 

Function Documentation

◆ operator==()

bool operator== ( const std::unique_ptr< Attribute > &  lhs,
const std::unique_ptr< Attribute > &  rhs 
)

TheWarehouse uses this operator function for indexing and caching queries.

So this is important even though you don't see it being called (directly) anywhere - it IS being used.

Definition at line 31 of file TheWarehouse.C.

32 {
33  return (*lhs) == (*rhs);
34 }