PropertyNode::dVals

ClassName

PropertyNode

AccessType

public

Name

dVals

Declaration

vector<double> dVals

Remark

Examples

EX1

void PropertyNode_dVals_ex1()
{
    Tree tr;
    TreeNode trN = tr.AddNode("node1",1);
 
    vector<double> vdData = {1.1,2.2,3.3,4.4,5.5};
    trN.dVals = vdData;    //Assign doulbe values to tree node
 
    vector<double> vecCheck;
    vecCheck = trN.dVals; 

    for(int ii = 0; ii < vecCheck.GetSize(); ii++)
        printf("%f\t",vecCheck[ii]);     
}

Description

Vector of double values of the node.

header to Include

origin.h

See Also

PropertyNode::dVal, PropertyNode::dVals2

Reference