btool
A parser/converter/transpiler for .bib files
|
|
Go to the documentation of this file. 1 #ifndef BIBPARSER_BIBELEMENT_HPP
2 #define BIBPARSER_BIBELEMENT_HPP
23 [[nodiscard]]
auto findAttribute(
const std::string &key)
const noexcept -> std::optional<Field>;
std::string id
the elements (unique) id
style-properties-container
auto operator==(const BibElement &other) const noexcept -> bool
std::vector< Field > attributes
the attributes of the element
auto isCompliantTo(const StyleProperties &props) const -> bool
auto findAttribute(const std::string &key) const noexcept -> std::optional< Field >
auto operator<<(std::ostream &os, BibElement const &elem) -> std::ostream &
std::string style
the style-name of the element