Loading...
Searching...
No Matches
by::packMakable Class Referenceabstract

Interface for pack creation and verification. More...

#include <packMakable.hpp>

Inheritance diagram for by::packMakable:
by::autopack by::packLoading by::trustPackLoading by::byeolPackLoading by::cppPackLoading

Public Member Functions

virtual nbool parse (errReport &rpt, pack &pak)=0
 Pure virtual method for parsing pack content into source representations.
 
virtual nbool expand (errReport &rpt, pack &pak)=0
 
virtual nbool verify (errReport &rpt, pack &pak)=0
 Pure virtual method for verifying the parsed pack content.
 

Detailed Description

Interface for pack creation and verification.

Provides pure virtual methods for parsing and verifying pack content. Implemented by different pack loading strategies to handle pack creation.

Member Function Documentation

◆ parse()

virtual nbool by::packMakable::parse ( errReport & rpt,
pack & pak )
pure virtual

Pure virtual method for parsing pack content into source representations.

Parameters
rptThe error report to collect any parsing errors.
trayA bicontainable to store intermediate parsed results or components.
Returns
true if success.

Implemented in by::byeolPackLoading, and by::cppPackLoading.

◆ verify()

virtual nbool by::packMakable::verify ( errReport & rpt,
pack & pak )
pure virtual

Pure virtual method for verifying the parsed pack content.

Parameters
rptThe error report to collect any verification errors.
pakThe pack object to verify.
Returns
true if the pack content is successfully verified, false otherwise.

Implemented in by::trustPackLoading.


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