NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
document.hpp File Reference
#include <string>
#include <functional>
#include <atomic>
#include "NeoFOAM/core/dictionary.hpp"

Go to the source code of this file.

Classes

class  NeoFOAM::Document
 A class representing a document in a database. More...
 

Namespaces

namespace  NeoFOAM
 

Typedefs

using NeoFOAM::DocumentValidator = std::function< bool(Dictionary)>
 A type alias for a function that validates a Dictionary object.
 

Functions

bool NeoFOAM::hasId (Dictionary doc)
 Checks if a Dictionary object has an "id" key.
 
const std::string & NeoFOAM::name (const NeoFOAM::Document &doc)
 Retrieves the name of a Document.
 
std::string & NeoFOAM::name (NeoFOAM::Document &doc)
 Retrieves the name of a Document.