本文整理汇总了C++中ID3_CATCH函数的典型用法代码示例。如果您正苦于以下问题:C++ ID3_CATCH函数的具体用法?C++ ID3_CATCH怎么用?C++ ID3_CATCH使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ID3_CATCH函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: ID3Tag_New
ID3_C_EXPORT ID3Tag* CCONV
ID3Tag_New(void)
{
ID3_Tag* tag = NULL;
ID3_CATCH(tag = new ID3_Tag);
return reinterpret_cast<ID3Tag *>(tag);
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:7,代码来源:c_wrapper.cpp
示例2: ID3Frame_New
ID3_C_EXPORT ID3Frame*
ID3Frame_New(void)
{
ID3_Frame* frame = NULL;
ID3_CATCH(frame = new ID3_Frame);
return reinterpret_cast<ID3Frame *>(frame);
}
开发者ID:Kirushanr,项目名称:audacity,代码行数:7,代码来源:c_wrapper.cpp
示例3: ID3Frame_NewID
ID3_C_EXPORT ID3Frame* CCONV
ID3Frame_NewID(ID3_FrameID id)
{
ID3_Frame* frame = NULL;
ID3_CATCH(frame = new ID3_Frame(id));
return reinterpret_cast<ID3Frame *>(frame);
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:7,代码来源:c_wrapper.cpp
示例4: ID3TagConstIterator_Delete
ID3_C_EXPORT void CCONV
ID3TagConstIterator_Delete(ID3TagConstIterator *iter)
{
if (iter)
{
ID3_CATCH(delete reinterpret_cast<ID3_Tag::ConstIterator*>(iter));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例5: ID3Tag_AddFrames
ID3_C_EXPORT void CCONV
ID3Tag_AddFrames(ID3Tag *tag, const ID3Frame *frames, size_t num)
{
if (tag)
{
ID3_CATCH(reinterpret_cast<ID3_Tag *>(tag)->AddFrames(reinterpret_cast<const ID3_Frame *>(frames), num));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例6: ID3Tag_AddFrame
ID3_C_EXPORT void CCONV
ID3Tag_AddFrame(ID3Tag *tag, const ID3Frame *frame)
{
if (tag)
{
ID3_CATCH(reinterpret_cast<ID3_Tag *>(tag)->AddFrame(reinterpret_cast<const ID3_Frame *>(frame)));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例7: ID3Tag_SetPadding
ID3_C_EXPORT void CCONV
ID3Tag_SetPadding(ID3Tag *tag, bool pad)
{
if (tag)
{
ID3_CATCH(reinterpret_cast<ID3_Tag *>(tag)->SetPadding(pad));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例8: ID3Field_FromFile
ID3_C_EXPORT void
ID3Field_FromFile(ID3Field *field, const char *fileName)
{
if (field)
{
ID3_CATCH(reinterpret_cast<ID3_Field *>(field)->FromFile(fileName));
}
}
开发者ID:Kirushanr,项目名称:audacity,代码行数:8,代码来源:c_wrapper.cpp
示例9: ID3Field_SetASCII
ID3_C_EXPORT void
ID3Field_SetASCII(ID3Field *field, const char *string)
{
if (field)
{
ID3_CATCH(reinterpret_cast<ID3_Field *>(field)->Set(string));
}
}
开发者ID:Kirushanr,项目名称:audacity,代码行数:8,代码来源:c_wrapper.cpp
示例10: ID3Field_SetUNICODE
ID3_C_EXPORT void
ID3Field_SetUNICODE(ID3Field *field, const unicode_t *string)
{
if (field)
{
ID3_CATCH(reinterpret_cast<ID3_Field *>(field)->Set(string));
}
}
开发者ID:Kirushanr,项目名称:audacity,代码行数:8,代码来源:c_wrapper.cpp
示例11: ID3Frame_SetID
ID3_C_EXPORT void CCONV
ID3Frame_SetID(ID3Frame *frame, ID3_FrameID id)
{
if (frame)
{
ID3_CATCH(reinterpret_cast<ID3_Frame *>(frame)->SetID(id));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例12: ID3Tag_SetExtendedHeader
ID3_C_EXPORT void CCONV
ID3Tag_SetExtendedHeader(ID3Tag *tag, bool ext)
{
if (tag)
{
ID3_CATCH(reinterpret_cast<ID3_Tag *>(tag)->SetExtendedHeader(ext));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例13: ID3TagIterator_Delete
ID3_C_EXPORT void
ID3TagIterator_Delete(ID3TagIterator *iter)
{
if (iter)
{
ID3_CATCH(delete reinterpret_cast<ID3_Tag::Iterator*>(iter));
}
}
开发者ID:Kirushanr,项目名称:audacity,代码行数:8,代码来源:c_wrapper.cpp
示例14: ID3Frame_Clear
ID3_C_EXPORT void CCONV
ID3Frame_Clear(ID3Frame *frame)
{
if (frame)
{
ID3_CATCH(reinterpret_cast<ID3_Frame *>(frame)->Clear());
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例15: ID3Tag_Delete
ID3_C_EXPORT void CCONV
ID3Tag_Delete(ID3Tag *tag)
{
if (tag)
{
ID3_CATCH(delete reinterpret_cast<ID3_Tag*>(tag));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例16: ID3Tag_AttachFrame
ID3_C_EXPORT void
ID3Tag_AttachFrame(ID3Tag *tag, ID3Frame *frame)
{
if (tag)
{
ID3_CATCH(reinterpret_cast<ID3_Tag *>(tag)->AttachFrame(reinterpret_cast<ID3_Frame *>(frame)));
}
}
开发者ID:Kirushanr,项目名称:audacity,代码行数:8,代码来源:c_wrapper.cpp
示例17: ID3Field_ToFile
ID3_C_EXPORT void CCONV
ID3Field_ToFile(const ID3Field *field, const char *fileName)
{
if (field)
{
ID3_CATCH(reinterpret_cast<const ID3_Field *>(field)->ToFile(fileName));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例18: ID3Tag_SetUnsync
ID3_C_EXPORT void CCONV
ID3Tag_SetUnsync(ID3Tag *tag, bool unsync)
{
if (tag)
{
ID3_CATCH(reinterpret_cast<ID3_Tag *>(tag)->SetUnsync(unsync));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例19: ID3Field_SetBINARY
ID3_C_EXPORT void CCONV
ID3Field_SetBINARY(ID3Field *field, const uchar *data, size_t size)
{
if (field)
{
ID3_CATCH(reinterpret_cast<ID3_Field *>(field)->Set(data, size));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
示例20: ID3Field_GetBINARY
ID3_C_EXPORT void CCONV
ID3Field_GetBINARY(const ID3Field *field, uchar *buffer, size_t buffLength)
{
if (field)
{
ID3_CATCH(reinterpret_cast<const ID3_Field *>(field)->Get(buffer, buffLength));
}
}
开发者ID:JesperMikkelsen,项目名称:Big-Numbers,代码行数:8,代码来源:c_wrapper.cpp
注:本文中的ID3_CATCH函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论