licornea_tools
Public Member Functions | Public Attributes | List of all members
tlz::references_grid Struct Reference

#include <references_grid.h>

Public Member Functions

std::size_t cols () const
 
std::size_t rows () const
 
std::size_t size () const
 
view_index view (std::ptrdiff_t col, std::ptrdiff_t row) const
 
bool has_view (const view_index &) const
 
bool is_valid () const
 

Public Attributes

std::vector< int > x_indices
 
std::vector< int > y_indices
 

Detailed Description

Definition at line 11 of file references_grid.h.

Member Function Documentation

std::size_t tlz::references_grid::cols ( ) const
inline

Definition at line 15 of file references_grid.h.

bool tlz::references_grid::has_view ( const view_index idx) const

Definition at line 11 of file references_grid.cc.

bool tlz::references_grid::is_valid ( ) const
inline

Definition at line 22 of file references_grid.h.

Here is the call graph for this function:

std::size_t tlz::references_grid::rows ( ) const
inline

Definition at line 16 of file references_grid.h.

std::size_t tlz::references_grid::size ( ) const
inline

Definition at line 18 of file references_grid.h.

Here is the call graph for this function:

view_index tlz::references_grid::view ( std::ptrdiff_t  col,
std::ptrdiff_t  row 
) const

Definition at line 6 of file references_grid.cc.

Member Data Documentation

std::vector<int> tlz::references_grid::x_indices

Definition at line 12 of file references_grid.h.

std::vector<int> tlz::references_grid::y_indices

Definition at line 13 of file references_grid.h.


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