Cppcheck
Classes | Public Types | Public Attributes | List of all members
Library::ArgumentChecks Struct Reference

#include <library.h>

Classes

struct  IteratorInfo
 
struct  MinSize
 

Public Types

enum class  Direction { DIR_IN , DIR_OUT , DIR_INOUT , DIR_UNKNOWN }
 

Public Attributes

bool notbool {}
 
bool notnull {}
 
int notuninit = -1
 
bool formatstr {}
 
bool strz {}
 
bool optional {}
 
bool variadic {}
 
std::string valid
 
IteratorInfo iteratorInfo
 
std::vector< MinSizeminsizes
 
Direction direction = Direction::DIR_UNKNOWN
 

Detailed Description

Definition at line 275 of file library.h.

Member Enumeration Documentation

◆ Direction

Enumerator
DIR_IN 

Input to called function. Data is treated as read-only.

DIR_OUT 

Output to caller. Data is passed by reference or address and is potentially written.

DIR_INOUT 

Input to called function, and output to caller. Data is passed by reference or address and is potentially modified.

DIR_UNKNOWN 

direction not known / specified

Definition at line 304 of file library.h.

Member Data Documentation

◆ direction

Direction Library::ArgumentChecks::direction = Direction::DIR_UNKNOWN

Definition at line 310 of file library.h.

Referenced by Library::getArgDirection(), and Library::loadFunction().

◆ formatstr

bool Library::ArgumentChecks::formatstr {}

Definition at line 279 of file library.h.

Referenced by Library::isargformatstr(), and Library::loadFunction().

◆ iteratorInfo

IteratorInfo Library::ArgumentChecks::iteratorInfo

Definition at line 291 of file library.h.

Referenced by Library::getArgIteratorInfo(), and Library::loadFunction().

◆ minsizes

std::vector<MinSize> Library::ArgumentChecks::minsizes

Definition at line 302 of file library.h.

Referenced by Library::argminsizes(), and Library::loadFunction().

◆ notbool

bool Library::ArgumentChecks::notbool {}

Definition at line 276 of file library.h.

Referenced by Library::isboolargbad(), and Library::loadFunction().

◆ notnull

bool Library::ArgumentChecks::notnull {}

Definition at line 277 of file library.h.

Referenced by Library::isnullargbad(), and Library::loadFunction().

◆ notuninit

int Library::ArgumentChecks::notuninit = -1

Definition at line 278 of file library.h.

Referenced by Library::isuninitargbad(), and Library::loadFunction().

◆ optional

bool Library::ArgumentChecks::optional {}

Definition at line 281 of file library.h.

Referenced by Library::loadFunction().

◆ strz

bool Library::ArgumentChecks::strz {}

Definition at line 280 of file library.h.

Referenced by Library::isargstrz(), and Library::loadFunction().

◆ valid

std::string Library::ArgumentChecks::valid

◆ variadic

bool Library::ArgumentChecks::variadic {}

Definition at line 282 of file library.h.

Referenced by Library::loadFunction().


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