Cppcheck
Public Member Functions | List of all members
IteratorInferModel Struct Referenceabstract
Inheritance diagram for IteratorInferModel:
InferModel EndIteratorInferModel StartIteratorInferModel

Public Member Functions

virtual ValueFlow::Value::ValueType getType () const =0
 
bool match (const ValueFlow::Value &value) const override
 
ValueFlow::Value yield (MathLib::bigint value) const override
 
- Public Member Functions inherited from InferModel
virtual ~InferModel ()=default
 
 InferModel (const InferModel &)=default
 

Additional Inherited Members

- Protected Member Functions inherited from InferModel
 InferModel ()=default
 

Detailed Description

Definition at line 6993 of file valueflow.cpp.

Member Function Documentation

◆ getType()

virtual ValueFlow::Value::ValueType IteratorInferModel::getType ( ) const
pure virtual

Implemented in StartIteratorInferModel, and EndIteratorInferModel.

Referenced by match(), and yield().

◆ match()

bool IteratorInferModel::match ( const ValueFlow::Value value) const
inlineoverridevirtual

Implements InferModel.

Definition at line 6995 of file valueflow.cpp.

References getType(), and ValueFlow::Value::valueType.

◆ yield()

ValueFlow::Value IteratorInferModel::yield ( MathLib::bigint  value) const
inlineoverridevirtual

Implements InferModel.

Definition at line 6998 of file valueflow.cpp.

References getType(), ValueFlow::Value::setKnown(), and ValueFlow::Value::valueType.


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