コード例 #1
0
ファイル: IpVector.hpp プロジェクト: BrianZ1/simbody
 inline
 void Vector::Set(Number alpha)
 {
   // Could initialize caches here
   SetImpl(alpha);
   ObjectChanged();
 }
コード例 #2
0
ファイル: Procedures.cpp プロジェクト: arunaryan/OG-RStats
CProcedures::CProcedures (const CConnector *poConnector, const com_opengamma_language_procedure_Available *pAvailable)
: CEntities (poConnector, pAvailable->fudgeCountProcedure) {
	LOGINFO (TEXT ("Creating procedure repository"));
	int n, count = pAvailable->fudgeCountProcedure;
	for (n = 0; n < count; n++) {
		SetImpl (n, new CProcedureEntry (pAvailable->_procedure[n]->_identifier, pAvailable->_procedure[n]->_definition));
	}
}