btool
A parser/converter/transpiler for .bib files
Field Struct Reference

Field-Container. More...

#include <Field.hpp>

+ Collaboration diagram for Field:

Public Member Functions

auto operator== (const Field &other) const noexcept -> bool
 

Public Attributes

std::string name
 the name of the Field More...
 
std::string value
 the value of the Field More...
 

Detailed Description

Field-Container.

Stores information of a Field of a bib-element

Examples
/github/workspace/test/BibElementFixtureTest.cpp.

Definition at line 11 of file Field.hpp.

Member Function Documentation

◆ operator==()

auto Field::operator== ( const Field other) const -> bool
noexcept

Equality-Operator for two fields

Parameters
otherfield to compare with
Returns
weather the two fields are deeply equal

Definition at line 9 of file Field.cpp.

References name.

Member Data Documentation

◆ name

std::string Field::name

the name of the Field

Definition at line 12 of file Field.hpp.

Referenced by BibElement::isCompliantTo(), and AbstractGenerator::sortedFields().

◆ value

std::string Field::value

the value of the Field

Definition at line 13 of file Field.hpp.

Referenced by HtmlGenerator::appendCard(), and Parser::sortElements().


The documentation for this struct was generated from the following files: