2.2.3.10.6 PropertyNode::fVals

ClassName

PropertyNode

AccessType

public

Name

fVals

Declaration

vector<float> fVals

Remark

Examples

EX1

void PropertyNode_fVals_ex1()
{
    Tree tr;
    TreeNode trN = tr.AddNode("node1",1);
 
    vector<float> vfData = {1.1,2.2,3.3,4.4,5.5};
    trN.fVals = vfData;    //Assign float values to tree node
 
    vector<float> vecCheck;
    vecCheck = trN.fVals; 

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

Description

Vector of float values of the node.

Header to Include

origin.h

See Also

PropertyNode::fVals2

Reference