1 #ifndef LIB_MAC_AXAPI_NODE_H_
2 #define LIB_MAC_AXAPI_NODE_H_
4 #include <ApplicationServices/ApplicationServices.h>
18 class AXAPIContextImpl;
269 const std::string& attribute)
const;
311 const std::string& attribute)
const;
328 explicit AXAPINode(AXUIElementRef ax_element);
331 template <
typename T>
336 const std::string& attribute)
const;
338 template <
typename T>
343 AXUIElementRef ax_ui_element_{NULL};
345 friend class AXAPIContextImpl;
Definition: axapi_node.h:63
friend AXAPINode findRootAXAPINodeForName(const std::string &name)
friend AXAPINode findRootAXAPINodeForPID(int pid)
Definition: mac_data_types.h:152
Definition: mac_data_types.h:65
Definition: mac_data_types.h:132
Definition: mac_data_types.h:109
Definition: axapi_node.h:21
Definition: mac_data_types.h:87
ValueType getValueType(const std::string &attribute) const
std::vector< std::string > getStringListValue(const std::string &attribute) const
Point getPointValue(const std::string &attribute) const
bool getBooleanValue(const std::string &attribute) const
Size getSizeValue(const std::string &attribute) const
AXAPINode findRootAXAPINodeForPID(int pid)
AXAPINode getNodeValue(const std::string &attribute) const
std::string getURLValue(const std::string &attribute) const
int getIntValue(const std::string &attribute) const
AXAPINode findRootAXAPINodeForName(const std::string &name)
Dictionary getDictionaryListValueAtIndex(const std::string &attribute, int index) const
AXAPINode getNodeListValueAtIndex(const std::string &attribute, int index) const
std::vector< std::string > getAttributeNames() const
std::string getStringListValueAtIndex(const std::string &attribute, int index) const
int getListElementCount(const std::string &attribute) const
std::vector< Dictionary > getDictionaryListValue(const std::string &attribute) const
std::vector< AXAPINode > getNodeListValue(const std::string &attribute) const
bool hasAttribute(const std::string &attribute) const
std::vector< Range > getRangeListValue(const std::string &attribute) const
ValueType
Definition: mac_data_types.h:18
Rect getRectValue(const std::string &attribute) const
float getFloatValue(const std::string &attribute) const
std::string getStringValue(const std::string &attribute) const
ValueType getListElementType(const std::string &attribute) const
Range getRangeListValueAtIndex(const std::string &attribute, int index) const
Range getRangeValue(const std::string &attribute) const