HasX
Checks whether or not this Curve object has an associated X data set.
BOOL HasX( string & strXdatasetName = NULL )
Returns TRUE if this Curve object has an associated X data set, otherwise FALSE.
EX1
// Assumes Book1_B exists and contains data int curvebase_HasX_ex1(string dsName = "Book1_B") { string dsXName; Curve crv(dsName); BOOL bHasX = crv.HasX(dsXName); if(bHasX) printf("The X dataset for Book1_B is %s\n", dsXName); else printf("There is no X dataset for Book1_B\n"); return 0; }
Curve::Attach, Curve::Curve
origin.h