<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cutter-CppCutTest">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-CppCutTest.top_of_page">Test class for C++.</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  CUTTER Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Test class for C++.</refname>
<refpurpose>Adds C++ exception support to CutTest.</refpurpose>
</refnamediv>

<refsynopsisdiv id="cutter-CppCutTest.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>struct              <link linkend="CppCutTest">CppCutTest</link>;
struct              <link linkend="CppCutTestClass">CppCutTestClass</link>;
<link linkend="CppCutTest"><returnvalue>CppCutTest</returnvalue></link> *        <link linkend="cppcut-test-new">cppcut_test_new</link>                     (<parameter>const <link linkend="gchar"><type>gchar</type></link> *name</parameter>,
                                                         <parameter><link linkend="CutTestFunction"><type>CutTestFunction</type></link> function</parameter>);
</synopsis>
</refsynopsisdiv>

<refsect1 id="cutter-CppCutTest.description" role="desc">
<title role="desc.title">Description</title>

</refsect1>
<refsect1 id="cutter-CppCutTest.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CppCutTest" role="struct">
<title>struct CppCutTest</title>
<indexterm zone="CppCutTest"><primary>CppCutTest</primary></indexterm>
<programlisting>struct CppCutTest {
    CutTest object;
};
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CppCutTestClass" role="struct">
<title>struct CppCutTestClass</title>
<indexterm zone="CppCutTestClass"><primary>CppCutTestClass</primary></indexterm>
<programlisting>struct CppCutTestClass {
    CutTestClass parent_class;
};
</programlisting>
<para>
</para></refsect2>
<refsect2 id="cppcut-test-new" role="function">
<title>cppcut_test_new ()</title>
<indexterm zone="cppcut-test-new"><primary>cppcut_test_new</primary></indexterm>
<programlisting><link linkend="CppCutTest"><returnvalue>CppCutTest</returnvalue></link> *        cppcut_test_new                     (<parameter>const <link linkend="gchar"><type>gchar</type></link> *name</parameter>,
                                                         <parameter><link linkend="CutTestFunction"><type>CutTestFunction</type></link> function</parameter>);</programlisting>
<para>
</para></refsect2>

</refsect1>

</refentry>
