本文整理汇总了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);
}
示例2: Construct
Server::Server(int port)
{
Construct();
this->Bind(port);
}
示例3: Construct
CSplitString::CSplitString( const char *pString, const char *pSeparator)
{
Construct( pString, &pSeparator, 1 );
}
示例4: Construct
GTGTile::GTGTile(){ Construct(); }
示例5: Free
void GTGTileSet::Destruct(){
Free();
Construct();
}
示例6: Capo
Capo(uint32_t n_samples, int nBuffers, double samplerate){Construct(n_samples, nBuffers, samplerate);}
示例7: BinaryTree
BinaryTree (int* data, int size) : size (size), root() {
root = Construct (data, 0, size);
}
示例8: Construct
bool XmlDtd::Download(const Url & url)
{
Resource.Url.Construct(url);
((Url&)url).Download(Resource);
return Construct();
}
示例9: SceneObjectWithRestPosition
SceneObjectReducedCPU::SceneObjectReducedCPU(const char * filenameOBJ, ModalMatrix * modalMatrix): SceneObjectWithRestPosition(filenameOBJ), SceneObjectReduced(filenameOBJ, modalMatrix)
{
Construct(modalMatrix);
}
示例10: Drawable2D
Sprite::Sprite(bool ShouldInitTexture) : Drawable2D()
{
Construct(ShouldInitTexture);
}
示例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;
//.........这里部分代码省略.........
示例12: CharSequence
String::String():
CharSequence(NewString(EmptyString))
{
Construct();
}
示例13: Realloc
void Realloc(uint32_t n_samples, int nBuffers)
{
Destruct();
Construct(n_samples, nBuffers, SampleRate);
}
示例14: Construct
CEditShape::CEditShape(LPVOID data, LPCSTR name):CCustomObject(data,name)
{
Construct(data);
}
示例15: Construct
ESoundSource::ESoundSource(LPVOID data, LPCSTR name)
:CCustomObject(data,name)
{
Construct(data);
}