TABLE OF CONTENTS
- ::pwtk::input
- ::pwtk::input::clear
- ::pwtk::input::print
- ::pwtk::input::printAll
- Cards
- ::pwtk::input::card
- ::pwtk::input::card_w_flags
- ::pwtk::input::card_wo_flags
- ::pwtk::input::cardAppend
- ::pwtk::input::cardClear
- ::pwtk::input::cardContent
- ::pwtk::input::cardFlags
- ::pwtk::input::cardGet
- ::pwtk::input::cardGetContent
- ::pwtk::input::cardGetFlags
- ::pwtk::input::cardGetPWTK
- ::pwtk::input::cardPrepend
- ::pwtk::input::cardPrint
- Namelists
- ::pwtk::input::namelist
- ::pwtk::input::namelist.affix
- ::pwtk::input::namelist.affixGet
- ::pwtk::input::namelist.affixGetAffix
- ::pwtk::input::namelist.affixPrint
- ::pwtk::input::namelist.affixPrintAffix
- ::pwtk::input::namelistAtmSymb2Ityp
- ::pwtk::input::namelistClear
- ::pwtk::input::namelistGet
- ::pwtk::input::namelistGetPWTK
- ::pwtk::input::namelistGetVarNoCase
- ::pwtk::input::namelistGetVarValue
- ::pwtk::input::namelistIfsetVar
- ::pwtk::input::namelistItyp2AtmSymb
- ::pwtk::input::namelistPrint
- Scripts
- ::pwtk::input::script
- ::pwtk::input::scriptAppend
- ::pwtk::input::scriptClear
- ::pwtk::input::scriptGet
- ::pwtk::input::scriptPrepend
- ::pwtk::input::scriptPrint
- Stacking
::pwtk::input
NAME
::pwtk::input
DESCRIPTION
This namespace handles input data, such as Fortran namelists (see Namelists), QE cards (see Cards) and "scripts" (see Scripts) and provides the commands for input data stacking (see: Stacking).
There are commands that set, query, modify, print, clear, and stack input data.
For developers: the ::pwtk::input namespace provides an API for generic handling of input data. An implementation of a given specific input will use the functionality of this namespace, and should define at least the ::pwtk::***::get command, which returns the content of the input (e.g. see ::pwtk::pwi::get). To maintain a consistent API, each such implementation should also define the following two short-cut procs (that should be exported):
- ::pwtk::***_get -- returns the content of the input
- ::pwtk::***_fprint -- prints the content of the input to a file or stdout
- ::pwtk::***_clear -- clears the content of the input