<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="getattr" module="max" category="Control">
	<digest>
		Query object attributes
	</digest>
	<description>
		Provides a user interface to query attribute values from an object. You can also retrieve a list of all available attributes for the attached object.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			TEXT_HERE
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Message in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Message in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Attribute Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				Connect to An Object
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="2" type="OUTLET_TYPE">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="attribute" optional="1" type="symbol">
			<digest>
				The attribute to access
			</digest>
			<description>
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Retrieve the current value
			</digest>
			<description>
				Queries the connected object and outputs the current value for the selected attribute.
			</description>
		</method>
		<method name="getattrlist">
			<arglist />
			<digest>
				Retrieve all available attributes
			</digest>
			<description>
				Dumps all of the available attributes out the rightmost outlet. The list of attributes is prefaced by the work &quot;attrlist&quot;, and can be used to load a menu or verify input.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="attr" get="1" set="1" type="symbol" size="1">
			<digest>
				Accessed attribute
			</digest>
			<description>
				The attribute to be accessed
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Attribute" />
			</attributelist>
		</attribute>
		<attribute name="listen" get="1" set="1" type="int" size="1">
			<digest>
				Active listening flag
			</digest>
			<description>
				When set to &quot;1&quot;, outputs the current attribute value whenever it changes.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Listen to Value Changes" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="prefix" get="1" set="1" type="int" size="1">
			<digest>
				Add a prefix to the output
			</digest>
			<description>
				Adds the attribute name as a prefix to all output values.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Prefix Output" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="attrui" />
	</seealsolist>
</c74object>
