28 #ifndef AVT_VMBAPI_ENUMENTRY_HPP 29 #define AVT_VMBAPI_ENUMENTRY_HPP 35 inline VmbErrorType EnumEntry::GetName( std::string &rStrName )
const 40 res = GetName( NULL, nLength );
47 std::vector<std::string::value_type> tmpName( nLength + 1,
'\0' );
48 res = GetName( &tmpName[0], nLength );
51 rStrName = &*tmpName.begin();
68 inline VmbErrorType EnumEntry::GetDisplayName( std::string &rStrDisplayName )
const 73 res = GetDisplayName( NULL, nLength );
80 std::vector<std::string::value_type> tmpName( nLength + 1,
'\0' );
81 res = GetDisplayName( &tmpName[0], nLength );
84 rStrDisplayName = &*tmpName.begin();
94 rStrDisplayName.clear();
101 inline VmbErrorType EnumEntry::GetDescription( std::string &rStrDescription )
const 106 res = GetDescription( NULL, nLength );
113 std::vector<std::string::value_type> tmpDescription( nLength + 1,
'\0' );
114 res = GetDescription( &tmpDescription[0], nLength );
117 rStrDescription = &*tmpDescription.begin();
127 rStrDescription.clear();
134 inline VmbErrorType EnumEntry::GetTooltip( std::string &rStrTooltip )
const 139 res = GetTooltip( NULL, nLength );
146 std::vector<std::string::value_type> tmpTooltip( nLength + 1,
'\0' );
147 res = GetTooltip( &tmpTooltip[0], nLength );
150 rStrTooltip = &*tmpTooltip.begin();
167 inline VmbErrorType EnumEntry::GetSFNCNamespace( std::string &rStrNamespace )
const 172 res = GetSFNCNamespace( NULL, nLength );
179 std::vector<std::string::value_type> tmpNamespace( nLength + 1,
'\0' );
180 res = GetSFNCNamespace( &tmpNamespace[0], nLength );
183 rStrNamespace =&*tmpNamespace.begin();
193 rStrNamespace.clear();