<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.20" xml:lang="en-US">
  <compounddef id="usermetricsinput_8h" kind="file" language="C++">
    <compoundname>usermetricsinput.h</compoundname>
    <includes refid="UserMetricsInputExport_8h" local="no">libusermetricsinput/UserMetricsInputExport.h</includes>
    <incdepgraph>
      <node id="1">
        <label>libusermetricsinput/usermetricsinput.h</label>
        <link refid="usermetricsinput_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>libusermetricsinput/UserMetricsInputExport.h</label>
        <link refid="UserMetricsInputExport_8h"/>
      </node>
    </incdepgraph>
      <sectiondef kind="enum">
      <memberdef kind="enum" id="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438" prot="public" static="no" strong="no">
        <type></type>
        <name>USERMETRICSINPUT_METRICTYPE</name>
        <enumvalue id="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438a18030d5c860e9af1669d98f5f7b8359a" prot="public">
          <name>METRIC_TYPE_USER</name>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438a24c1907a4ce32646905fe99a0ee34d3a" prot="public">
          <name>METRIC_TYPE_SYSTEM</name>
          <briefdescription>
          </briefdescription>
          <detaileddescription>
          </detaileddescription>
        </enumvalue>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="40" column="1" bodyfile="libusermetricsinput/usermetricsinput.h" bodystart="40" bodyend="42"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="typedef">
      <memberdef kind="typedef" id="usermetricsinput_8h_1a7352ed8164cb4dfee8f0ef9d27d3ebe1" prot="public" static="no">
        <type>void *</type>
        <definition>typedef void* UserMetricsInputMetricManager</definition>
        <argsstring></argsstring>
        <name>UserMetricsInputMetricManager</name>
        <briefdescription>
<para>A central place for registering user metrics. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="47" column="14" bodyfile="libusermetricsinput/usermetricsinput.h" bodystart="47" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" prot="public" static="no">
        <type>void *</type>
        <definition>typedef void* UserMetricsInputMetricParameters</definition>
        <argsstring></argsstring>
        <name>UserMetricsInputMetricParameters</name>
        <briefdescription>
<para>Parameters for constructing a metric. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="52" column="14" bodyfile="libusermetricsinput/usermetricsinput.h" bodystart="52" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" prot="public" static="no">
        <type>void *</type>
        <definition>typedef void* UserMetricsInputMetric</definition>
        <argsstring></argsstring>
        <name>UserMetricsInputMetric</name>
        <briefdescription>
<para>A single user metric, e.g. &quot;number of e-mails today&quot; or &quot;photos taken today&quot;. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="57" column="14" bodyfile="libusermetricsinput/usermetricsinput.h" bodystart="57" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" prot="public" static="no">
        <type>void *</type>
        <definition>typedef void* UserMetricsInputMetricUpdate</definition>
        <argsstring></argsstring>
        <name>UserMetricsInputMetricUpdate</name>
        <briefdescription>
<para>A update to a user metric for a particular user. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="62" column="14" bodyfile="libusermetricsinput/usermetricsinput.h" bodystart="62" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="func">
      <memberdef kind="function" id="usermetricsinput_8h_1af59e1f9c50dcc73755a7b4b07b1aba37" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> <ref refid="usermetricsinput_8h_1a7352ed8164cb4dfee8f0ef9d27d3ebe1" kindref="member">UserMetricsInputMetricManager</ref></type>
        <definition>USERMETRICSINPUT_EXPORT UserMetricsInputMetricManager usermetricsinput_metricmanager_new</definition>
        <argsstring>()</argsstring>
        <name>usermetricsinput_metricmanager_new</name>
        <briefdescription>
<para>Construct a new UserMetricsInputMetricManager. </para>
        </briefdescription>
        <detaileddescription>
<para>Must be freed with <ref refid="usermetricsinput_8h_1a72fdb8f86e2b0f69b17b68309d733642" kindref="member">usermetricsinput_metricmanager_delete</ref> </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="70" column="31" declfile="libusermetricsinput/usermetricsinput.h" declline="70" declcolumn="31"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a72fdb8f86e2b0f69b17b68309d733642" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricmanager_delete</definition>
        <argsstring>(UserMetricsInputMetricManager metricManager)</argsstring>
        <name>usermetricsinput_metricmanager_delete</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a7352ed8164cb4dfee8f0ef9d27d3ebe1" kindref="member">UserMetricsInputMetricManager</ref></type>
          <declname>metricManager</declname>
        </param>
        <briefdescription>
<para>Free a UserMetricsInputMetricManager. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricManager</parametername>
</parameternamelist>
<parameterdescription>
<para>The UserMetricsInputMetricManager to free </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="77" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="77" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1af0f8d6a63b4dee377a84f47f21be7bd3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> <ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref></type>
        <definition>USERMETRICSINPUT_EXPORT UserMetricsInputMetricParameters usermetricsinput_metricparameters_new</definition>
        <argsstring>(const char *dataSourceId)</argsstring>
        <name>usermetricsinput_metricparameters_new</name>
        <param>
          <type>const char *</type>
          <declname>dataSourceId</declname>
        </param>
        <briefdescription>
<para>Construct a new UserMetricsInputMetricParameters. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>dataSourceId</parametername>
</parameternamelist>
<parameterdescription>
<para>The unique ID of the data source, e.g. &quot;facebook&quot;</para>
</parameterdescription>
</parameteritem>
</parameterlist>
Must be freed with <ref refid="usermetricsinput_8h_1a1642acbf716986af38a30afbb0dbfb1a" kindref="member">usermetricsinput_metricparameters_delete</ref> </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="87" column="34" declfile="libusermetricsinput/usermetricsinput.h" declline="87" declcolumn="34"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a07374ef2eef88fddd5bb1f5d6dcec28e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricparameters_set_format_string</definition>
        <argsstring>(UserMetricsInputMetricParameters metricParameter, const char *formatString)</argsstring>
        <name>usermetricsinput_metricparameters_set_format_string</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref></type>
          <declname>metricParameter</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>formatString</declname>
        </param>
        <briefdescription>
<para>Set the string to print in the output API, e.g. &quot;&lt;b&gt;%1&lt;/b&gt; messages received today&quot;. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricParameter</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>formatString</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="97" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="97" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1aedf61b9f47b1de80db718059ffe86319" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricparameters_set_empty_data_string</definition>
        <argsstring>(UserMetricsInputMetricParameters metricParameter, const char *emptyDataString)</argsstring>
        <name>usermetricsinput_metricparameters_set_empty_data_string</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref></type>
          <declname>metricParameter</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>emptyDataString</declname>
        </param>
        <briefdescription>
<para>set the string to print in the case of no data, e.g. &quot;No messages received today&quot; </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricParameter</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>emptyDataString</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="108" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="108" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1ae7fdf9c5fe35a32f58d81876d020c052" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricparameters_set_text_domain</definition>
        <argsstring>(UserMetricsInputMetricParameters metricParameter, const char *textDomain)</argsstring>
        <name>usermetricsinput_metricparameters_set_text_domain</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref></type>
          <declname>metricParameter</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>textDomain</declname>
        </param>
        <briefdescription>
<para>Set the translation domain. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricParameter</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>textDomain</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="119" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="119" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a6ec179a480bdb94744ef5b65ab70b5b7" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricparameters_set_minimum</definition>
        <argsstring>(UserMetricsInputMetricParameters metricParameter, double minimum)</argsstring>
        <name>usermetricsinput_metricparameters_set_minimum</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref></type>
          <declname>metricParameter</declname>
        </param>
        <param>
          <type>double</type>
          <declname>minimum</declname>
        </param>
        <briefdescription>
<para>Set the minimum display value for this metric. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricParameter</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>minimum</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="130" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="130" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a6efa25032bfd2296e059204bf2f97f7d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricparameters_set_maximum</definition>
        <argsstring>(UserMetricsInputMetricParameters metricParameter, double maximum)</argsstring>
        <name>usermetricsinput_metricparameters_set_maximum</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref></type>
          <declname>metricParameter</declname>
        </param>
        <param>
          <type>double</type>
          <declname>maximum</declname>
        </param>
        <briefdescription>
<para>Set the maximum display value for this metric. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricParameter</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>maximum</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="140" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="140" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a5ea1d60cd825748f5754946a7841e0e7" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricparameters_set_type</definition>
        <argsstring>(UserMetricsInputMetricParameters metricParameter, USERMETRICSINPUT_METRICTYPE metricType)</argsstring>
        <name>usermetricsinput_metricparameters_set_type</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref></type>
          <declname>metricParameter</declname>
        </param>
        <param>
          <type><ref refid="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438" kindref="member">USERMETRICSINPUT_METRICTYPE</ref></type>
          <declname>metricType</declname>
        </param>
        <briefdescription>
<para>Set the type of metric this is (user owned or system owned) </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricParameter</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>metricType</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="150" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="150" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a1642acbf716986af38a30afbb0dbfb1a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricparameters_delete</definition>
        <argsstring>(UserMetricsInputMetricParameters metricParameters)</argsstring>
        <name>usermetricsinput_metricparameters_delete</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref></type>
          <declname>metricParameters</declname>
        </param>
        <briefdescription>
<para>Free a UserMetricsInputMetricParameters. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricParameters</parametername>
</parameternamelist>
<parameterdescription>
<para>The UserMetricsInputMetricManager to free </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="160" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="160" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a1634de4e0e5490b465e8c544074cb0e8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> <ref refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" kindref="member">UserMetricsInputMetric</ref></type>
        <definition>USERMETRICSINPUT_EXPORT UserMetricsInputMetric usermetricsinput_metricmanager_add</definition>
        <argsstring>(UserMetricsInputMetricManager metricManager, UserMetricsInputMetricParameters metricParameters)</argsstring>
        <name>usermetricsinput_metricmanager_add</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a7352ed8164cb4dfee8f0ef9d27d3ebe1" kindref="member">UserMetricsInputMetricManager</ref></type>
          <declname>metricManager</declname>
        </param>
        <param>
          <type><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref></type>
          <declname>metricParameters</declname>
        </param>
        <briefdescription>
<para>Register a new UserMetricsInputMetric. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricManager</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>metricParameters</parametername>
</parameternamelist>
<parameterdescription>
<para>The parameters of the metric to create</para>
</parameterdescription>
</parameteritem>
</parameterlist>
Do not attempt to delete this object. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="172" column="24" declfile="libusermetricsinput/usermetricsinput.h" declline="172" declcolumn="24"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a5551501a7c1d28aa878cac0da47b7a79" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metric_increment</definition>
        <argsstring>(UserMetricsInputMetric metric, double amount, const char *username)</argsstring>
        <name>usermetricsinput_metric_increment</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" kindref="member">UserMetricsInputMetric</ref></type>
          <declname>metric</declname>
        </param>
        <param>
          <type>double</type>
          <declname>amount</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>username</declname>
        </param>
        <briefdescription>
<para>Increment the &quot;today&quot; value for a simple user metric. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metric</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>amount</parametername>
</parameternamelist>
<parameterdescription>
<para>How much to increase the metric by - usually 1. </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>username</parametername>
</parameternamelist>
<parameterdescription>
<para>The user to update the data for. If blank (&quot;&quot;) then the current user is used. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="184" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="184" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1ae4d9f012399c3d0c07af82e460095f55" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metric_update_today</definition>
        <argsstring>(UserMetricsInputMetric metric, double value, const char *username)</argsstring>
        <name>usermetricsinput_metric_update_today</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" kindref="member">UserMetricsInputMetric</ref></type>
          <declname>metric</declname>
        </param>
        <param>
          <type>double</type>
          <declname>value</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>username</declname>
        </param>
        <briefdescription>
<para>Update the &quot;today&quot; value for a simple user metric. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metric</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>value</parametername>
</parameternamelist>
<parameterdescription>
<para>Today&apos;s value </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>username</parametername>
</parameternamelist>
<parameterdescription>
<para>The user to update the data for. If blank (&quot;&quot;) then the current user is used. </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="195" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="195" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a67be82f953e7fd0cbf12356a77c65cfd" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> <ref refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" kindref="member">UserMetricsInputMetricUpdate</ref></type>
        <definition>USERMETRICSINPUT_EXPORT UserMetricsInputMetricUpdate usermetricsinput_metric_update</definition>
        <argsstring>(UserMetricsInputMetric metric, const char *username)</argsstring>
        <name>usermetricsinput_metric_update</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" kindref="member">UserMetricsInputMetric</ref></type>
          <declname>metric</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>username</declname>
        </param>
        <briefdescription>
<para>Create an update to a particular metric. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metric</parametername>
</parameternamelist>
<parameterdescription>
<para></para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>username</parametername>
</parameternamelist>
<parameterdescription>
<para>The user to update the data for. If blank (&quot;&quot;) then the current user is used.</para>
</parameterdescription>
</parameteritem>
</parameterlist>
Must be freed with <ref refid="usermetricsinput_8h_1ada691afb67642066c997ceaff5f7273b" kindref="member">usermetricsinput_metricupdate_delete</ref> - this is when the actual update will be sent to the storage service. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="207" column="30" declfile="libusermetricsinput/usermetricsinput.h" declline="207" declcolumn="30"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1ada691afb67642066c997ceaff5f7273b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricupdate_delete</definition>
        <argsstring>(UserMetricsInputMetricUpdate metricUpdate)</argsstring>
        <name>usermetricsinput_metricupdate_delete</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" kindref="member">UserMetricsInputMetricUpdate</ref></type>
          <declname>metricUpdate</declname>
        </param>
        <briefdescription>
<para>Free a UserMetricsInputMetric. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricUpdate</parametername>
</parameternamelist>
<parameterdescription>
<para>The UserMetricsInputMetric to free and dispatch</para>
</parameterdescription>
</parameteritem>
</parameterlist>
This will cause the update to be dispatched. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="218" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="218" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a74e2f80d61e621e4bd3a2b1a9df3c156" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricupdate_add_data</definition>
        <argsstring>(UserMetricsInputMetricUpdate metricUpdate, double data)</argsstring>
        <name>usermetricsinput_metricupdate_add_data</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" kindref="member">UserMetricsInputMetricUpdate</ref></type>
          <declname>metricUpdate</declname>
        </param>
        <param>
          <type>double</type>
          <declname>data</declname>
        </param>
        <briefdescription>
<para>Add data to a UserMetricsInputMetricUpdate. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricUpdate</parametername>
</parameternamelist>
<parameterdescription>
<para>The UserMetricsInputMetricUpdate to add data to </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>data</parametername>
</parameternamelist>
<parameterdescription>
<para>The double-valued data to add</para>
</parameterdescription>
</parameteritem>
</parameterlist>
Each call to this method appends a new day&apos;s data to the update. So the first call adds data for today, the second call adds data for yesterday, and so on. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="232" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="232" declcolumn="6"/>
      </memberdef>
      <memberdef kind="function" id="usermetricsinput_8h_1a2f70ceae693bca2698de184496cf4d56" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref> void</type>
        <definition>USERMETRICSINPUT_EXPORT void usermetricsinput_metricupdate_add_null</definition>
        <argsstring>(UserMetricsInputMetricUpdate metricUpdate)</argsstring>
        <name>usermetricsinput_metricupdate_add_null</name>
        <param>
          <type><ref refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" kindref="member">UserMetricsInputMetricUpdate</ref></type>
          <declname>metricUpdate</declname>
        </param>
        <briefdescription>
<para>Add unknown data to an update. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>metricUpdate</parametername>
</parameternamelist>
<parameterdescription>
<para>The UserMetricsInputMetricUpdate to add data to</para>
</parameterdescription>
</parameteritem>
</parameterlist>
If data is not known for a particular day, then null can be added. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="libusermetricsinput/usermetricsinput.h" line="243" column="6" declfile="libusermetricsinput/usermetricsinput.h" declline="243" declcolumn="6"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(C)<sp/>2013<sp/>Canonical,<sp/>Ltd.</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="4"><highlight class="comment"><sp/>*<sp/>This<sp/>library<sp/>is<sp/>free<sp/>software;<sp/>you<sp/>can<sp/>redistribute<sp/>it<sp/>and/or<sp/>modify<sp/>it<sp/>under</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>*<sp/>the<sp/>terms<sp/>of<sp/>version<sp/>3<sp/>of<sp/>the<sp/>GNU<sp/>Lesser<sp/>General<sp/>Public<sp/>License<sp/>as<sp/>published</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/>by<sp/>the<sp/>Free<sp/>Software<sp/>Foundation.</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*<sp/>This<sp/>library<sp/>is<sp/>distributed<sp/>in<sp/>the<sp/>hope<sp/>that<sp/>it<sp/>will<sp/>be<sp/>useful,<sp/>but<sp/>WITHOUT</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/>ANY<sp/>WARRANTY;<sp/>without<sp/>even<sp/>the<sp/>implied<sp/>warranty<sp/>of<sp/>MERCHANTABILITY<sp/>or<sp/>FITNESS</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE.<sp/>See<sp/>the<sp/>GNU<sp/>Lesser<sp/>General<sp/>Public<sp/>License<sp/>for<sp/>more</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/>details.</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/>You<sp/>should<sp/>have<sp/>received<sp/>a<sp/>copy<sp/>of<sp/>the<sp/>GNU<sp/>Lesser<sp/>General<sp/>Public<sp/>License</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/>along<sp/>with<sp/>this<sp/>program.<sp/><sp/>If<sp/>not,<sp/>see<sp/>&lt;http://www.gnu.org/licenses/&gt;.</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*<sp/>Author:<sp/>Pete<sp/>Woods<sp/>&lt;pete.woods@canonical.com&gt;</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="20"><highlight class="comment"><sp/>*<sp/>This<sp/>file<sp/>defines<sp/>the<sp/>C<sp/>API<sp/>of<sp/>libusermetricsinput.<sp/>If<sp/>you<sp/>can,<sp/>it<sp/>is<sp/>strongly</highlight></codeline>
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/>recommended<sp/>to<sp/>use<sp/>the<sp/>C++<sp/>API,<sp/>MetricManager.h<sp/>instead.</highlight></codeline>
<codeline lineno="22"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>USERMETRICSINPUT_H_</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="25"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>USERMETRICSINPUT_H_</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="26"><highlight class="normal"></highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>USERMETRICSINPUT_METRICUPDATE_H_</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal"></highlight><highlight class="preprocessor">#error<sp/>&quot;Mixing<sp/>C<sp/>and<sp/>C++<sp/>public<sp/>header<sp/>includes.<sp/>You<sp/>can<sp/>only<sp/>use<sp/>one<sp/>or<sp/>the<sp/>other.&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="30"><highlight class="normal"></highlight></codeline>
<codeline lineno="31"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="UserMetricsInputExport_8h" kindref="compound">libusermetricsinput/UserMetricsInputExport.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="32"><highlight class="normal"></highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight></codeline>
<codeline lineno="37"><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">&quot;C&quot;</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
<codeline lineno="40" refid="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438" kindref="member">USERMETRICSINPUT_METRICTYPE</ref><sp/>{</highlight></codeline>
<codeline lineno="41" refid="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438a18030d5c860e9af1669d98f5f7b8359a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438a18030d5c860e9af1669d98f5f7b8359a" kindref="member">METRIC_TYPE_USER</ref>,<sp/><ref refid="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438a24c1907a4ce32646905fe99a0ee34d3a" kindref="member">METRIC_TYPE_SYSTEM</ref></highlight></codeline>
<codeline lineno="42" refid="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438a24c1907a4ce32646905fe99a0ee34d3a" refkind="member"><highlight class="normal">};</highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
<codeline lineno="47" refid="usermetricsinput_8h_1a7352ed8164cb4dfee8f0ef9d27d3ebe1" refkind="member"><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/><ref refid="usermetricsinput_8h_1a7352ed8164cb4dfee8f0ef9d27d3ebe1" kindref="member">UserMetricsInputMetricManager</ref>;</highlight></codeline>
<codeline lineno="48"><highlight class="normal"></highlight></codeline>
<codeline lineno="52" refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" refkind="member"><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref>;</highlight></codeline>
<codeline lineno="53"><highlight class="normal"></highlight></codeline>
<codeline lineno="57" refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" refkind="member"><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/><ref refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" kindref="member">UserMetricsInputMetric</ref>;</highlight></codeline>
<codeline lineno="58"><highlight class="normal"></highlight></codeline>
<codeline lineno="62" refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" refkind="member"><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/><ref refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" kindref="member">UserMetricsInputMetricUpdate</ref>;</highlight></codeline>
<codeline lineno="63"><highlight class="normal"></highlight></codeline>
<codeline lineno="69"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="70" refid="usermetricsinput_8h_1af59e1f9c50dcc73755a7b4b07b1aba37" refkind="member"><highlight class="normal"><ref refid="usermetricsinput_8h_1a7352ed8164cb4dfee8f0ef9d27d3ebe1" kindref="member">UserMetricsInputMetricManager</ref><sp/><ref refid="usermetricsinput_8h_1af59e1f9c50dcc73755a7b4b07b1aba37" kindref="member">usermetricsinput_metricmanager_new</ref>();</highlight></codeline>
<codeline lineno="71"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="77" refid="usermetricsinput_8h_1a72fdb8f86e2b0f69b17b68309d733642" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a72fdb8f86e2b0f69b17b68309d733642" kindref="member">usermetricsinput_metricmanager_delete</ref>(</highlight></codeline>
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a7352ed8164cb4dfee8f0ef9d27d3ebe1" kindref="member">UserMetricsInputMetricManager</ref><sp/>metricManager);</highlight></codeline>
<codeline lineno="86"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="87" refid="usermetricsinput_8h_1af0f8d6a63b4dee377a84f47f21be7bd3" refkind="member"><highlight class="normal"><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref><sp/><ref refid="usermetricsinput_8h_1af0f8d6a63b4dee377a84f47f21be7bd3" kindref="member">usermetricsinput_metricparameters_new</ref>(</highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*dataSourceId);</highlight></codeline>
<codeline lineno="89"><highlight class="normal"></highlight></codeline>
<codeline lineno="96"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="97" refid="usermetricsinput_8h_1a07374ef2eef88fddd5bb1f5d6dcec28e" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a07374ef2eef88fddd5bb1f5d6dcec28e" kindref="member">usermetricsinput_metricparameters_set_format_string</ref>(</highlight></codeline>
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref><sp/>metricParameter,</highlight></codeline>
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*formatString);</highlight></codeline>
<codeline lineno="100"><highlight class="normal"></highlight></codeline>
<codeline lineno="107"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="108" refid="usermetricsinput_8h_1aedf61b9f47b1de80db718059ffe86319" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1aedf61b9f47b1de80db718059ffe86319" kindref="member">usermetricsinput_metricparameters_set_empty_data_string</ref>(</highlight></codeline>
<codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref><sp/>metricParameter,</highlight></codeline>
<codeline lineno="110"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*emptyDataString);</highlight></codeline>
<codeline lineno="111"><highlight class="normal"></highlight></codeline>
<codeline lineno="118"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="119" refid="usermetricsinput_8h_1ae7fdf9c5fe35a32f58d81876d020c052" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1ae7fdf9c5fe35a32f58d81876d020c052" kindref="member">usermetricsinput_metricparameters_set_text_domain</ref>(</highlight></codeline>
<codeline lineno="120"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref><sp/>metricParameter,</highlight></codeline>
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*textDomain);</highlight></codeline>
<codeline lineno="122"><highlight class="normal"></highlight></codeline>
<codeline lineno="129"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="130" refid="usermetricsinput_8h_1a6ec179a480bdb94744ef5b65ab70b5b7" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a6ec179a480bdb94744ef5b65ab70b5b7" kindref="member">usermetricsinput_metricparameters_set_minimum</ref>(</highlight></codeline>
<codeline lineno="131"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref><sp/>metricParameter,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>minimum);</highlight></codeline>
<codeline lineno="132"><highlight class="normal"></highlight></codeline>
<codeline lineno="139"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="140" refid="usermetricsinput_8h_1a6efa25032bfd2296e059204bf2f97f7d" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a6efa25032bfd2296e059204bf2f97f7d" kindref="member">usermetricsinput_metricparameters_set_maximum</ref>(</highlight></codeline>
<codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref><sp/>metricParameter,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>maximum);</highlight></codeline>
<codeline lineno="142"><highlight class="normal"></highlight></codeline>
<codeline lineno="149"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="150" refid="usermetricsinput_8h_1a5ea1d60cd825748f5754946a7841e0e7" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a5ea1d60cd825748f5754946a7841e0e7" kindref="member">usermetricsinput_metricparameters_set_type</ref>(</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref><sp/>metricParameter,</highlight></codeline>
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a78804a06f7ad26c86a309b2aa62f3438" kindref="member">USERMETRICSINPUT_METRICTYPE</ref><sp/>metricType);</highlight></codeline>
<codeline lineno="153"><highlight class="normal"></highlight></codeline>
<codeline lineno="159"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="160" refid="usermetricsinput_8h_1a1642acbf716986af38a30afbb0dbfb1a" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a1642acbf716986af38a30afbb0dbfb1a" kindref="member">usermetricsinput_metricparameters_delete</ref>(</highlight></codeline>
<codeline lineno="161"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref><sp/>metricParameters);</highlight></codeline>
<codeline lineno="162"><highlight class="normal"></highlight></codeline>
<codeline lineno="171"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="172" refid="usermetricsinput_8h_1a1634de4e0e5490b465e8c544074cb0e8" refkind="member"><highlight class="normal"><ref refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" kindref="member">UserMetricsInputMetric</ref><sp/><ref refid="usermetricsinput_8h_1a1634de4e0e5490b465e8c544074cb0e8" kindref="member">usermetricsinput_metricmanager_add</ref>(</highlight></codeline>
<codeline lineno="173"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a7352ed8164cb4dfee8f0ef9d27d3ebe1" kindref="member">UserMetricsInputMetricManager</ref><sp/>metricManager,</highlight></codeline>
<codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a34ed483df591648eb3f3118609eae6df" kindref="member">UserMetricsInputMetricParameters</ref><sp/>metricParameters);</highlight></codeline>
<codeline lineno="175"><highlight class="normal"></highlight></codeline>
<codeline lineno="183"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="184" refid="usermetricsinput_8h_1a5551501a7c1d28aa878cac0da47b7a79" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a5551501a7c1d28aa878cac0da47b7a79" kindref="member">usermetricsinput_metric_increment</ref>(<ref refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" kindref="member">UserMetricsInputMetric</ref><sp/>metric,</highlight></codeline>
<codeline lineno="185"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>amount,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*username);</highlight></codeline>
<codeline lineno="186"><highlight class="normal"></highlight></codeline>
<codeline lineno="194"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="195" refid="usermetricsinput_8h_1ae4d9f012399c3d0c07af82e460095f55" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1ae4d9f012399c3d0c07af82e460095f55" kindref="member">usermetricsinput_metric_update_today</ref>(<ref refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" kindref="member">UserMetricsInputMetric</ref><sp/>metric,</highlight></codeline>
<codeline lineno="196"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>value,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*username);</highlight></codeline>
<codeline lineno="206"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="207" refid="usermetricsinput_8h_1a67be82f953e7fd0cbf12356a77c65cfd" refkind="member"><highlight class="normal"><ref refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" kindref="member">UserMetricsInputMetricUpdate</ref><sp/><ref refid="usermetricsinput_8h_1a67be82f953e7fd0cbf12356a77c65cfd" kindref="member">usermetricsinput_metric_update</ref>(</highlight></codeline>
<codeline lineno="208"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a1abb7e3afa51177792d0672b4e9769b9" kindref="member">UserMetricsInputMetric</ref><sp/>metric,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*username);</highlight></codeline>
<codeline lineno="209"><highlight class="normal"></highlight></codeline>
<codeline lineno="217"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="218" refid="usermetricsinput_8h_1ada691afb67642066c997ceaff5f7273b" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1ada691afb67642066c997ceaff5f7273b" kindref="member">usermetricsinput_metricupdate_delete</ref>(</highlight></codeline>
<codeline lineno="219"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" kindref="member">UserMetricsInputMetricUpdate</ref><sp/>metricUpdate);</highlight></codeline>
<codeline lineno="220"><highlight class="normal"></highlight></codeline>
<codeline lineno="231"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="232" refid="usermetricsinput_8h_1a74e2f80d61e621e4bd3a2b1a9df3c156" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a74e2f80d61e621e4bd3a2b1a9df3c156" kindref="member">usermetricsinput_metricupdate_add_data</ref>(</highlight></codeline>
<codeline lineno="233"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" kindref="member">UserMetricsInputMetricUpdate</ref><sp/>metricUpdate,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>data);</highlight></codeline>
<codeline lineno="234"><highlight class="normal"></highlight></codeline>
<codeline lineno="242"><highlight class="normal"><ref refid="UserMetricsInputExport_8h_1a7685dc3980652b7faf235629264fd6ec" kindref="member">USERMETRICSINPUT_EXPORT</ref></highlight></codeline>
<codeline lineno="243" refid="usermetricsinput_8h_1a2f70ceae693bca2698de184496cf4d56" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="usermetricsinput_8h_1a2f70ceae693bca2698de184496cf4d56" kindref="member">usermetricsinput_metricupdate_add_null</ref>(</highlight></codeline>
<codeline lineno="244"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="usermetricsinput_8h_1a83a29a00021c4e85a2bacd75ad9187e6" kindref="member">UserMetricsInputMetricUpdate</ref><sp/>metricUpdate);</highlight></codeline>
<codeline lineno="245"><highlight class="normal"></highlight></codeline>
<codeline lineno="269"><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="270"><highlight class="normal">}</highlight></codeline>
<codeline lineno="274"><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="275"><highlight class="normal"></highlight></codeline>
<codeline lineno="276"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
    </programlisting>
    <location file="libusermetricsinput/usermetricsinput.h"/>
  </compounddef>
</doxygen>
