当前位置: 首页>>代码示例>>C++>>正文


C++ Construct函数代码示例

本文整理汇总了C++中Construct函数的典型用法代码示例。如果您正苦于以下问题:C++ Construct函数的具体用法?C++ Construct怎么用?C++ Construct使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了Construct函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: PvmfPortBaseImpl

PVMFLoopbackIOPort::PVMFLoopbackIOPort(int32 aTag, PVMFLoopbackNode* aNode)
        : PvmfPortBaseImpl(aTag, this)
        , OsclActiveObject(OsclActiveObject::EPriorityNominal, "PVMFLoopbackPort")
{
    Construct(aNode);
}
开发者ID:0omega,项目名称:platform_external_opencore,代码行数:6,代码来源:pvmf_loopback_ioport.cpp

示例2: Construct

Server::Server(int port)
{
	Construct();
	this->Bind(port);	
}
开发者ID:sippeangelo,项目名称:web,代码行数:5,代码来源:server.cpp

示例3: Construct

CSplitString::CSplitString( const char *pString, const char *pSeparator)
{
    Construct( pString, &pSeparator, 1 );
}
开发者ID:Filip98,项目名称:source-sdk-2013,代码行数:4,代码来源:splitstring.cpp

示例4: Construct

GTGTile::GTGTile(){ Construct(); }
开发者ID:Bweeze,项目名称:Grand-Theft-Gentoo,代码行数:1,代码来源:GTGTile.cpp

示例5: Free

void GTGTileSet::Destruct(){
  Free();
  Construct();
}
开发者ID:Bweeze,项目名称:Grand-Theft-Gentoo,代码行数:4,代码来源:GTGTile.cpp

示例6: Capo

 Capo(uint32_t n_samples, int nBuffers, double samplerate){Construct(n_samples, nBuffers, samplerate);}
开发者ID:martsobm,项目名称:mod-pitchshifter,代码行数:1,代码来源:Capo.cpp

示例7: BinaryTree

 BinaryTree (int* data, int size) : size (size), root() {
   root = Construct (data, 0, size);
 }
开发者ID:cdht,项目名称:Algorithm,代码行数:3,代码来源:BinaryTree(AVL+NR).cpp

示例8: Construct

bool XmlDtd::Download(const Url & url)
{
    Resource.Url.Construct(url);
    ((Url&)url).Download(Resource);
    return Construct();
}
开发者ID:reasoning,项目名称:reason,代码行数:6,代码来源:dtd.cpp

示例9: SceneObjectWithRestPosition

SceneObjectReducedCPU::SceneObjectReducedCPU(const char * filenameOBJ, ModalMatrix * modalMatrix): SceneObjectWithRestPosition(filenameOBJ), SceneObjectReduced(filenameOBJ, modalMatrix) 
{
  Construct(modalMatrix);
}
开发者ID:RainVector,项目名称:LearnOpenGL,代码行数:4,代码来源:sceneObjectReducedCPU.cpp

示例10: Drawable2D

Sprite::Sprite(bool ShouldInitTexture) : Drawable2D()
{
    Construct(ShouldInitTexture);
}
开发者ID:mechacrash,项目名称:raindrop,代码行数:4,代码来源:Sprite.cpp

示例11: ASSERT

/////////////////////////////////////////////////////////////////////////////
//++
//
//  CBasePropertyPage::HrInit
//
//  Description:
//      Initialize the page.
//
//  Arguments:
//      peoInout
//          Pointer to the extension object.
//
//  Return Value:
//      S_OK
//          Page initialized successfully.
//
//      Other HRESULTs
//          Page failed to initialize.
//
//--
/////////////////////////////////////////////////////////////////////////////
HRESULT
CBasePropertyPage::HrInit(
    CExtObject * peoInout
    )
{
    ASSERT( peoInout != NULL );

    AFX_MANAGE_STATE( AfxGetStaticModuleState() );

    HRESULT         hr = S_OK;
    CWaitCursor     wc;
    DWORD           sc = ERROR_SUCCESS;
    CClusPropList   cpl;

    m_peo = peoInout;

    //
    //  Don't display a help button.
    //

    m_psp.dwFlags &= ~PSP_HASHELP;

    //
    //  Construct the property page.
    //

    if ( Peo()->BWizard() )
    {
        ASSERT( IddWizardPage() != NULL);
        Construct( IddWizardPage(), IdsCaption() );
    } // if: adding page to wizard
    else
    {
        ASSERT( IddPropertyPage() != NULL );
        Construct( IddPropertyPage(), IdsCaption() );
    } // else: adding page to property sheet

    //
    //  Read the properties private to this resource and parse them.
    //

    ASSERT( Peo() != NULL );
    ASSERT( Peo()->PodObjData() );

    //
    //  Read the properties.
    //

    switch ( Cot() )
    {
        case CLUADMEX_OT_CLUSTER:
        {
            CClusterData * pccd = reinterpret_cast< CClusterData * >( Peo()->PodObjData() );
            ASSERT( pccd && (pccd->GetHCluster() != NULL) );
            sc = cpl.ScGetClusterProperties(
                                      pccd->GetHCluster()
                                    , CLUSCTL_CLUSTER_GET_PRIVATE_PROPERTIES
                                    );
            break;
        }
        case CLUADMEX_OT_NODE:
        {
            CNodeData * pcnd = reinterpret_cast< CNodeData * >( Peo()->PodObjData() );
            ASSERT( pcnd && (pcnd->GetHNode() != NULL) );
            sc = cpl.ScGetNodeProperties(
                                      pcnd->GetHNode()
                                    , CLUSCTL_NODE_GET_PRIVATE_PROPERTIES
                                    );
            break;
        }
        case CLUADMEX_OT_GROUP:
        {
            CGroupData * pcgd = reinterpret_cast< CGroupData * >( Peo()->PodObjData() );
            ASSERT( pcgd && (pcgd->GetHGroup() != NULL) );
            sc = cpl.ScGetGroupProperties(
                                      pcgd->GetHGroup()
                                    , CLUSCTL_GROUP_GET_PRIVATE_PROPERTIES
                                    );
            break;
//.........这里部分代码省略.........
开发者ID:Ippei-Murofushi,项目名称:WindowsSDK7-Samples,代码行数:101,代码来源:BasePage.cpp

示例12: CharSequence

String::String():
    CharSequence(NewString(EmptyString))
{
    Construct();
}
开发者ID:DmitrySkiba,项目名称:itoa-jnipp,代码行数:5,代码来源:JavaLang.cpp

示例13: Realloc

 void Realloc(uint32_t n_samples, int nBuffers)
 {
 	Destruct();
 	Construct(n_samples, nBuffers, SampleRate);
 }
开发者ID:martsobm,项目名称:mod-pitchshifter,代码行数:5,代码来源:Capo.cpp

示例14: Construct

CEditShape::CEditShape(LPVOID data, LPCSTR name):CCustomObject(data,name)
{
	Construct(data);
}
开发者ID:2asoft,项目名称:xray,代码行数:4,代码来源:EShape.cpp

示例15: Construct

ESoundSource::ESoundSource(LPVOID data, LPCSTR name)
	:CCustomObject(data,name)
{
	Construct(data);
}
开发者ID:2asoft,项目名称:xray,代码行数:5,代码来源:ESound_Source.cpp


注:本文中的Construct函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。