GetDataPath Method

WRAPPER_API const BmgChar* GetDataPath(void) const

 

Description

The GetDataPath method returns the path to the directory that contains this DataSource's auxiliary files like (.las/.los/.gsb/etc...).

 

Example

void DataSource_getDefaultIssuer(GEOCALCPBW_NAMESPACE::DataSource & data)

{

if(CString(data.GetDataPath()) != "c:\here.xml")

{

data.SetDataPath(_towchar("c:\here.xml").c_str());

}

}