btool
A parser/converter/transpiler for .bib files
Field.hpp
Go to the documentation of this file.
1 #ifndef BIBPARSER_FIELD_HPP
2 #define BIBPARSER_FIELD_HPP
3 
4 #include <string>
5 #include <iostream>
6 
11 struct Field {
12  std::string name;
13  std::string value;
14 
15  auto operator==(const Field &other) const noexcept -> bool;
16 };
17 
18 auto operator<<(std::ostream &os, Field const &field) -> std::ostream &;
19 
20 #endif
Field::name
std::string name
the name of the Field
Definition: Field.hpp:12
Field
Field-Container.
Definition: Field.hpp:11
Field::value
std::string value
the value of the Field
Definition: Field.hpp:13
operator<<
auto operator<<(std::ostream &os, Field const &field) -> std::ostream &
Definition: Field.cpp:19
Field::operator==
auto operator==(const Field &other) const noexcept -> bool
Definition: Field.cpp:9