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

style-properties-container More...

#include <StyleProperties.hpp>

+ Collaboration diagram for StyleProperties:

Public Member Functions

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

Public Attributes

std::string name {}
 name of the style More...
 
std::unordered_set< std::string > requiredFields {}
 all the required fields More...
 
std::unordered_set< std::string > optionalFields {}
 all the optional fields More...
 

Detailed Description

style-properties-container

Stores information of a styles properties

Examples
/github/workspace/test/BibElementFixtureTest.cpp, and /github/workspace/test/TranslationTableFixtureTest.cpp.

Definition at line 11 of file StyleProperties.hpp.

Member Function Documentation

◆ operator==()

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

Equality-Operator for two style-properties

Parameters
otherstyle-properties to compare with
Returns
weather the two style-properties are deeply equal

Definition at line 8 of file StyleProperties.cpp.

References name.

Member Data Documentation

◆ name

std::string StyleProperties::name {}

name of the style

Definition at line 12 of file StyleProperties.hpp.

Referenced by TranslationTable::stylePropertiesOf().

◆ optionalFields

std::unordered_set<std::string> StyleProperties::optionalFields {}

all the optional fields

Definition at line 14 of file StyleProperties.hpp.

◆ requiredFields

std::unordered_set<std::string> StyleProperties::requiredFields {}

all the required fields

Definition at line 13 of file StyleProperties.hpp.


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