Flow123d  release_3.0.0-1191-g7740876
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 553 of file field_values.hh.

Member Typedef Documentation

typedef std::string StringTensor::elem_type

Definition at line 555 of file field_values.hh.

Constructor & Destructor Documentation

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

Definition at line 557 of file field_values.hh.

Member Function Documentation

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

Definition at line 560 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 561 of file field_values.hh.

void StringTensor::zeros ( )
inline

Definition at line 563 of file field_values.hh.

Member Data Documentation

unsigned int StringTensor::n_cols

Definition at line 567 of file field_values.hh.

unsigned int StringTensor::n_rows

Definition at line 566 of file field_values.hh.

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

Definition at line 569 of file field_values.hh.


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