Printing values from a class

I have a class

and want to print values in MOD using

L = new Layer* [NL];

How can I print the values in MOD using this object L???

class Layer  

{

public :

  Model*  MODP;
  Model*  MODS;
class Model  

{
    
protected:

  int     NX;
  int     NZ;
  Matrix<float>  MOD;

Depends on Matrix; is this that class? Matrix Class (System.Drawing.Drawing2D)