コード例 #1
0
void CObjectOStreamAsn::WriteFileHeader(TTypeInfo type)
{
    if ( true || m_Output.ZeroIndentLevel() ) {
        WriteId(type->GetName());
        m_Output.PutString(" ::= ");
    }
}
コード例 #2
0
ファイル: Dsl.cpp プロジェクト: CQiao/DSL
  //------------------------------------------------------------------------------------------------------------------------------------
  void Value::WriteToFile(FILE* fp, int indent)const
  {
#if _DEBUG
    if (IsString()){
      WriteString(fp, m_ConstStringVal, indent);
    } else {
      WriteId(fp, m_ConstStringVal, indent);
    }
#endif
  }