Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::test::ModuleSelection Class Reference

#include <gromacs/coordinateio/tests/coordinate_test.h>

+ Inheritance diagram for gmx::test::ModuleSelection:

Description

Helper class for tests that need an initialized selection.

Public Member Functions

void addOptionForSelection (Selection *sel, bool useValid)
 Method to add a valid selection option to the Module, or an invalid one for testing. More...
 
void setSelectionOptionValues (Options *options, Selection *sel, bool useValid)
 Set the actual values for the selection. More...
 
OptionsgetOption ()
 Get pointer to options to set values. More...
 

Member Function Documentation

void gmx::test::ModuleSelection::addOptionForSelection ( Selection sel,
bool  useValid 
)
inline

Method to add a valid selection option to the Module, or an invalid one for testing.

Parameters
[in]selSelection to add option to.
[in]useValidSet if the added selection should be valid for the module.
Options* gmx::test::ModuleSelection::getOption ( )
inline

Get pointer to options to set values.

Returns
Pointer to options.
void gmx::test::ModuleSelection::setSelectionOptionValues ( Options options,
Selection sel,
bool  useValid 
)
inline

Set the actual values for the selection.

Parameters
[in]optionsOption to set values for.
[in]selSelection to use.
[in]useValidSet if the added selection should be valid for the module.

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