27#include "neml2/tensors/tensors.h"
39std::stringstream &
operator>>(std::stringstream &, CrossRef<T> &);
88 const std::string &
raw()
const {
return _raw_str; }
102#define CROSSREF_SPECIALIZE_PRIMITIVETENSOR(T) \
104 CrossRef<T>::operator T() const
105FOR_ALL_PRIMITIVETENSOR(CROSSREF_SPECIALIZE_PRIMITIVETENSOR);
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:56
CrossRef< T > & operator=(const std::string &other)
Assignment operator.
Definition CrossRef.h:116
bool operator==(const CrossRef< T > &other) const
Test equality.
Definition CrossRef.h:81
const std::string & raw() const
Get the raw string literal.
Definition CrossRef.h:88
CrossRef(const std::string &raw)
Definition CrossRef.h:60
Definition CrossRef.cxx:30
std::ostream & operator<<(std::ostream &os, const EnumSelection &es)
Definition EnumSelection.cxx:31
std::stringstream & operator>>(std::stringstream &ss, EnumSelection &es)
Definition EnumSelection.cxx:38