GVGraphDefaultAttributes.h 983 B

12345678910111213141516171819202122232425262728293031323334
  1. /*************************************************************************
  2. * Copyright (c) 2011 AT&T Intellectual Property
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors: Details at http://www.graphviz.org/
  9. *************************************************************************/
  10. #import <Foundation/Foundation.h>
  11. #include "gvc.h"
  12. @class GVZGraph;
  13. @interface GVGraphDefaultAttributes : NSMutableDictionary
  14. {
  15. GVZGraph *_graph;
  16. int _kind;
  17. }
  18. - (id)initWithGraph:(GVZGraph *)graph prototype:(int)kind;
  19. /* dictionary primitive methods */
  20. - (NSUInteger)count;
  21. - (NSEnumerator *)keyEnumerator;
  22. - (id)objectForKey:(id)aKey;
  23. /* mutable dictionary primitive methods */
  24. - (void)setObject:(id)anObject forKey:(id)aKey;
  25. - (void)removeObjectForKey:(id)aKey;
  26. @end