Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
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

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  }
std::vector< std::string > authors
User names which identify the authors of the template.
Definition: templatemetadata.h:22
std::string name
The name of the template, suitable for displaying to the user.
Definition: templatemetadata.h:20
std::vector< std::string > tags
Tag-strings which could be used by the application to sort or search for templates.
Definition: templatemetadata.h:21
std::string license
The license under which the template (and associated assets) is released e.g. MIT, or explanatory text regarding licensing.
Definition: templatemetadata.h:23

Here is the caller graph for this function:

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  }
std::vector< std::string > authors
User names which identify the authors of the template.
Definition: templatemetadata.h:22
std::string name
The name of the template, suitable for displaying to the user.
Definition: templatemetadata.h:20
std::vector< std::string > tags
Tag-strings which could be used by the application to sort or search for templates.
Definition: templatemetadata.h:21
std::string license
The license under which the template (and associated assets) is released e.g. MIT, or explanatory text regarding licensing.
Definition: templatemetadata.h:23

Member Data Documentation

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

User names which identify the authors of the template.

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.

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

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

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: