Flow123d  JS_before_hm-1003-g4e68d2c
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
StringTensor Class Reference

#include <field_values.hh>

Collaboration diagram for StringTensor:
Collaboration graph
[legend]

Public Types

typedef std::string elem_type
 

Public Member Functions

 StringTensor (unsigned int n_rows, unsigned int n_cols)
 
std::string & at (unsigned int row)
 
std::string & at (unsigned int row, unsigned int col)
 
void zeros ()
 

Public Attributes

unsigned int n_rows
 
unsigned int n_cols
 

Private Attributes

std::vector< std::string > values_
 

Detailed Description

Mimics arma::mat<std::string>. Used in FieldFormula

Definition at line 574 of file field_values.hh.

Member Typedef Documentation

typedef std::string StringTensor::elem_type

Definition at line 576 of file field_values.hh.

Constructor & Destructor Documentation

StringTensor::StringTensor ( unsigned int  n_rows,
unsigned int  n_cols 
)
inline

Definition at line 578 of file field_values.hh.

Member Function Documentation

std::string& StringTensor::at ( unsigned int  row)
inline

Definition at line 581 of file field_values.hh.

Here is the caller graph for this function:

std::string& StringTensor::at ( unsigned int  row,
unsigned int  col 
)
inline

Definition at line 582 of file field_values.hh.

void StringTensor::zeros ( )
inline

Definition at line 584 of file field_values.hh.

Member Data Documentation

unsigned int StringTensor::n_cols

Definition at line 588 of file field_values.hh.

unsigned int StringTensor::n_rows

Definition at line 587 of file field_values.hh.

std::vector<std::string> StringTensor::values_
private

Definition at line 590 of file field_values.hh.


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