Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

SAPDB_Bool Studio_DBFSObject::status ( Tools_DynamicUTF8String sPath,
st_db_stat &  Info,
Tools_DynamicUTF8String sError 
)

------------------------------------------------------------------------- function: Status description: get information about a file,folder, link arguments: [in] sPath, full path (+filename) [out] Info, info to be populated [out] sError, error text, if one occured

return value: true if success

--------------------------------------------------------------------------

Definition at line 323 of file Studio_DBFSObject.cpp.

References Tools_DynamicUTF8String::Erase(), getDBFSError(), and Tools_DynamicUTF8String::StrPtr().

Referenced by StudioWeb_StoredQueryTree::moveToFolder(), StudioWeb_StoredQueryTree::readFirstLevelTree(), StudioWeb_StoredQueryTree::readSubDir(), StudioWeb_StoredQueryTree::renameItem(), and StudioWeb_StoredQueryTree::saveFile().

{

      
      Tools_DynamicUTF8String strCopyOfPath = sPath;  
      sError.Erase();

      if ( wd101Stat(m_pDBFS,(const char*)strCopyOfPath.StrPtr(), &Info) == 0 ) {
          
        getDBFSError(sError);
            return SAPDB_FALSE;                 
    }

      return SAPDB_TRUE;
}


Generated by  Doxygen 1.6.0   Back to index