Public Member Functions | Private Attributes | List of all members
OCL::CheckSizeDataSource Class Reference
Inheritance diagram for OCL::CheckSizeDataSource:
Inheritance graph
[legend]

Public Member Functions

 CheckSizeDataSource (int size, DataSource< int >::shared_ptr ds, DataSource< bool >::shared_ptr upstream)
 
bool get () const
 

Private Attributes

DataSource< int >::shared_ptr mds
 
int msize
 
DataSource< bool >::shared_ptr mupstream
 

Detailed Description

Helper data source to check if two sizes are still equal and check an upstream comparison as well. We use this to track changes in sizes for our sequences, which will lead to a rebuild.

Definition at line 55 of file ReportingComponent.cpp.

Constructor & Destructor Documentation

OCL::CheckSizeDataSource::CheckSizeDataSource ( int  size,
DataSource< int >::shared_ptr  ds,
DataSource< bool >::shared_ptr  upstream 
)
inline

Definition at line 61 of file ReportingComponent.cpp.

Member Function Documentation

bool OCL::CheckSizeDataSource::get ( ) const
inline

Returns true if the size or the upstream size remained the same.

Definition at line 67 of file ReportingComponent.cpp.

Member Data Documentation

DataSource<int>::shared_ptr OCL::CheckSizeDataSource::mds
private

Definition at line 58 of file ReportingComponent.cpp.

int OCL::CheckSizeDataSource::msize
mutableprivate

Definition at line 57 of file ReportingComponent.cpp.

DataSource<bool>::shared_ptr OCL::CheckSizeDataSource::mupstream
private

Definition at line 59 of file ReportingComponent.cpp.


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


ocl
Author(s): OCL Development Team
autogenerated on Mon Mar 23 2020 04:47:19