PropertyNode::bVals2

ClassName

PropertyNode

AccessType

public

Name

bVals2

Declaration

matrix<char> bVals2

Remark

Examples

EX1

void PropertyNode_bVals2_ex1()
{
    Tree tr;
    TreeNode trN = tr.AddNode("node1",1);
    
    matrix<char> matc = {
        {'a','b','c'},
        {'e','f','g'}
    };
    trN.bVals2 = matc;    //Assign matrix values to tree node
    
    matrix<char> matCheck;
    matCheck = trN.bVals2;
    
    printf("node1 = \n");
    for(int ii = 0; ii < matCheck.GetNumRows(); ii++)
    {
        for(int jj = 0; jj < matCheck.GetNumCols(); jj++)
            printf("%c\t",matCheck[ii][jj]);
        printf("\n");
    }
}

Description

Matrix of char values of the node.

header to Include

origin.h

See Also

PropertyNode::bVals

Reference