Public Member Functions | Private Attributes
OCL::CheckSizeDataSource Class Reference

List of all members.

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 [mutable, private]

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 Sun Nov 27 2016 03:45:31