Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Classes | Public Member Functions | Private Attributes | List of all members
geometrize::TemplateManifest Class Reference

The TemplateManifest class represents the metadata for a task template. More...

#include <templatemanifest.h>

Classes

class  TemplateManifestImpl
 

Public Member Functions

 TemplateManifest ()
 
 TemplateManifest (const std::string &manifestFilepath)
 
TemplateManifestoperator= (const TemplateManifest &)=default
 
 TemplateManifest (const TemplateManifest &)=default
 
 ~TemplateManifest ()
 
std::string getName () const
 
std::vector< std::string > getTags () const
 
std::vector< std::string > getAuthors () const
 
std::string getLicense () const
 

Private Attributes

std::shared_ptr
< TemplateManifestImpl
d
 

Detailed Description

The TemplateManifest class represents the metadata for a task template.

Constructor & Destructor Documentation

geometrize::TemplateManifest::TemplateManifest ( )
41  : d{std::make_shared<TemplateManifest::TemplateManifestImpl>()}
42 {
43 }
std::shared_ptr< TemplateManifestImpl > d
Definition: templatemanifest.h:28
geometrize::TemplateManifest::TemplateManifest ( const std::string &  manifestFilepath)
45  : d{std::make_shared<TemplateManifest::TemplateManifestImpl>(manifestFilepath)}
46 {
47 }
std::shared_ptr< TemplateManifestImpl > d
Definition: templatemanifest.h:28
geometrize::TemplateManifest::TemplateManifest ( const TemplateManifest )
default
geometrize::TemplateManifest::~TemplateManifest ( )
50 {
51 }

Member Function Documentation

std::vector< std::string > geometrize::TemplateManifest::getAuthors ( ) const
64 {
65  return d->m_data.authors;
66 }
std::shared_ptr< TemplateManifestImpl > d
Definition: templatemanifest.h:28
std::string geometrize::TemplateManifest::getLicense ( ) const
69 {
70  return d->m_data.license;
71 }
std::shared_ptr< TemplateManifestImpl > d
Definition: templatemanifest.h:28

Here is the caller graph for this function:

std::string geometrize::TemplateManifest::getName ( ) const
54 {
55  return d->m_data.name;
56 }
std::shared_ptr< TemplateManifestImpl > d
Definition: templatemanifest.h:28

Here is the caller graph for this function:

std::vector< std::string > geometrize::TemplateManifest::getTags ( ) const
59 {
60  return d->m_data.tags;
61 }
std::shared_ptr< TemplateManifestImpl > d
Definition: templatemanifest.h:28
TemplateManifest& geometrize::TemplateManifest::operator= ( const TemplateManifest )
default

Member Data Documentation

std::shared_ptr<TemplateManifestImpl> geometrize::TemplateManifest::d
private

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