Exemplo n.º 1
0
void CSraPath::x_Init(void)
{
    CSraMgr::RegisterFunctions();
    if ( rc_t rc = SRAPathMake(x_InitPtr(), 0) ) {
        *x_InitPtr() = 0;
        NCBI_THROW2(CSraException, eInitFailed,
                    "Cannot make SRAPath", rc);
    }
    if ( rc_t rc = SRAPathClear(*this) ) {
        NCBI_THROW2(CSraException, eInitFailed,
                    "Cannot clear SRAPath", rc);
    }
}
Exemplo n.º 2
0
 /* Clear
  *  forget all existing server and volume paths
  */
 inline rc_t Clear () throw()
 {
     return SRAPathClear ( this );
 }