Gets a DOFDomainList of all the domains associated with the DOF. 
- Resource Management:
 - This function allocates resources that must later be freed by calling DOFDomainList_Destroy.
 
- Parameters
 - 
  
    | self | The DOF to get the domains from. This must not be NULL. | 
  
   
- Returns
 - A count and a list of all the DOFDomains associated with the given DOF. 
 
- Exceptions
 - 
  
    | NULL | is returned if the list could not be allocated.  | 
  
   
- See Also
 - DOFDomainList