NeoN
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 "NeoN/core/dictionary.hpp"

Go to the source code of this file.

Classes

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

Namespaces

namespace  NeoN
 

Typedefs

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

Functions

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