29 #ifndef AVT_VMBAPI_INTERFACE_HPP 30 #define AVT_VMBAPI_INTERFACE_HPP 38 inline VmbErrorType Interface::GetID( std::string &rStrID )
const 43 res = GetID( NULL, nLength );
50 std::vector<std::string::value_type> tmpID( nLength + 1,
'\0' );
51 res = GetID( &tmpID[0], nLength );
54 rStrID = &*tmpID.begin();
72 inline VmbErrorType Interface::GetName( std::string &rStrName )
const 77 res = GetName( NULL, nLength );
84 std::vector<std::string::value_type> tmpName( nLength + 1,
'\0' );
85 res = GetName( &tmpName[0], nLength );
88 rStrName = &*tmpName.begin();
106 inline VmbErrorType Interface::GetSerialNumber( std::string &rStrSerial )
const 111 res = GetSerialNumber( NULL, nLength );
118 std::vector<std::string::value_type> tmpSerial( nLength + 1,
'\0');
119 res = GetSerialNumber( &tmpSerial[0], nLength );
122 rStrSerial = &*tmpSerial.begin();