28 #ifndef AVT_VMBAPI_INTERFACE_HPP 29 #define AVT_VMBAPI_INTERFACE_HPP 37 inline VmbErrorType Interface::GetID( std::string &rStrID )
const 42 res = GetID( NULL, nLength );
49 std::vector<std::string::value_type> tmpID( nLength + 1,
'\0' );
50 res = GetID( &tmpID[0], nLength );
53 rStrID = &*tmpID.begin();
71 inline VmbErrorType Interface::GetName( std::string &rStrName )
const 76 res = GetName( NULL, nLength );
83 std::vector<std::string::value_type> tmpName( nLength + 1,
'\0' );
84 res = GetName( &tmpName[0], nLength );
87 rStrName = &*tmpName.begin();
105 inline VmbErrorType Interface::GetSerialNumber( std::string &rStrSerial )
const 110 res = GetSerialNumber( NULL, nLength );
117 std::vector<std::string::value_type> tmpSerial( nLength + 1,
'\0');
118 res = GetSerialNumber( &tmpSerial[0], nLength );
121 rStrSerial = &*tmpSerial.begin();