AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::inlet::JSONSchemaWriter Class Reference

A Writer that is able to write the input file schema in JSON Schema format for a given input file. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/inlet/JSONSchemaWriter.hpp>

Inheritance diagram for axom::inlet::JSONSchemaWriter:

Public Member Functions

 JSONSchemaWriter (const std::string &fileName)
 A constructor for JSONSchemaWriter. More...
 
void documentContainer (const Container &container) override
 Generates documentation for a Container and its child Fields/Functions. More...
 
void finalize () override
 Finalizes documentation generation (e.g., by writing it to a file) More...
 
virtual ~JSONSchemaWriter ()=default
 

Detailed Description

A Writer that is able to write the input file schema in JSON Schema format for a given input file.

See also
Writer
https://json-schema.org/

Constructor & Destructor Documentation

◆ JSONSchemaWriter()

axom::inlet::JSONSchemaWriter::JSONSchemaWriter ( const std::string &  fileName)

A constructor for JSONSchemaWriter.

Parameters
[in]fileNameThe name of the file the schema should be written to.

◆ ~JSONSchemaWriter()

virtual axom::inlet::JSONSchemaWriter::~JSONSchemaWriter ( )
virtualdefault

Member Function Documentation

◆ documentContainer()

void axom::inlet::JSONSchemaWriter::documentContainer ( const Container container)
overridevirtual

Generates documentation for a Container and its child Fields/Functions.

Parameters
[in]containerThe Container to generate documentation for
Note
Implementers of this function are not responsible for generating documentation for child Containers of this Container - only child Fields/Functions

Implements axom::inlet::Writer.

◆ finalize()

void axom::inlet::JSONSchemaWriter::finalize ( )
overridevirtual

Finalizes documentation generation (e.g., by writing it to a file)

This is a hint to implementers that no further containers will be documented

Implements axom::inlet::Writer.


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