コード例 #1
0
ファイル: Vectors.C プロジェクト: aweinstein/dw
void Vectors::printOn(ostream& os) const {
  int NN=getNumber();
  for(int i=0;i<NN;i++) {
    printOn(i,os);
    os << endl;
  }
}
コード例 #2
0
ファイル: AbstractValue.cpp プロジェクト: achurch/glbinding
std::string AbstractValue::asString() const
{
    std::stringstream ss;

    printOn(ss);

    return ss.str();
}
コード例 #3
0
ファイル: token.cpp プロジェクト: AlessandroMamusa/polserver
	void Token::unregister_instance()
	{
#if defined(_DEBUG) && defined(_DBG_TRYING_TO_FIND_WIN32_SHUTDOWN_ASSERTION)
	  if (exit_signalled) {
		cout << "TOK/unreginst: " << (token?token:"<unknown>") << endl;
		printOn(cout); cout << "----" << endl;
	  }
#endif
	  --_instances;
#if STORE_INSTANCELIST
	  _instancelist.erase( this );
#endif
	}