Geometrize  1.0
An application for geometrizing images into geometric primitives
Public Member Functions | Public Attributes | List of all members
geometrize::serialization::TemplateMetadata Struct Reference

The TemplateMetadata struct represents the metadata (such as license information) for a task template. More...

#include <templatemetadata.h>

Public Member Functions

template<class Archive >
void save (Archive &archive)
 
template<class Archive >
void load (Archive &archive)
 

Public Attributes

std::string name {}
 The name of the template, suitable for displaying to the user. More...
 
std::vector< std::string > tags {}
 Tag-strings which could be used by the application to sort or search for templates. More...
 
std::vector< std::string > authors {}
 User names which identify the authors of the template. More...
 
std::string license {}
 The license under which the template (and associated assets) is released e.g. MIT, or explanatory text regarding licensing. More...
 

Detailed Description

The TemplateMetadata struct represents the metadata (such as license information) for a task template.

Member Function Documentation

◆ load()

template<class Archive >
void geometrize::serialization::TemplateMetadata::load ( Archive &  archive)
inline
33  {
34  archive(CEREAL_NVP(name), CEREAL_NVP(tags), CEREAL_NVP(authors), CEREAL_NVP(license));
35  }
Here is the caller graph for this function:

◆ save()

template<class Archive >
void geometrize::serialization::TemplateMetadata::save ( Archive &  archive)
inline
27  {
28  archive(CEREAL_NVP(name), CEREAL_NVP(tags), CEREAL_NVP(authors), CEREAL_NVP(license));
29  }

Member Data Documentation

◆ authors

std::vector<std::string> geometrize::serialization::TemplateMetadata::authors {}

User names which identify the authors of the template.

◆ license

std::string geometrize::serialization::TemplateMetadata::license {}

The license under which the template (and associated assets) is released e.g. MIT, or explanatory text regarding licensing.

◆ name

std::string geometrize::serialization::TemplateMetadata::name {}

The name of the template, suitable for displaying to the user.

◆ tags

std::vector<std::string> geometrize::serialization::TemplateMetadata::tags {}

Tag-strings which could be used by the application to sort or search for templates.


The documentation for this struct was generated from the following file:
geometrize::serialization::TemplateMetadata::name
std::string name
The name of the template, suitable for displaying to the user.
Definition: templatemetadata.h:20
geometrize::serialization::TemplateMetadata::tags
std::vector< std::string > tags
Tag-strings which could be used by the application to sort or search for templates.
Definition: templatemetadata.h:21
geometrize::serialization::TemplateMetadata::license
std::string license
The license under which the template (and associated assets) is released e.g. MIT,...
Definition: templatemetadata.h:23
geometrize::serialization::TemplateMetadata::authors
std::vector< std::string > authors
User names which identify the authors of the template.
Definition: templatemetadata.h:22