Loading [MathJax]/jax/output/HTML-CSS/config.js
CS488 PA6
Main Page
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
b
c
d
f
g
h
k
p
r
s
w
x
y
~
+
Functions
c
d
f
g
p
r
s
~
Variables
+
Files
File List
+
File Members
All
Functions
•
All
Classes
Files
Functions
Variables
Color.h
1
#ifndef edu_jmu_cs_Color_h
2
#define edu_jmu_cs_Color_h
3
7
struct
Color
{
8
//
9
// Declare the components in logical order rather than alphabetic order
10
// so that an initializer list can be used for assignment
11
//
12
16
int
red
;
17
21
int
green
;
22
26
int
blue
;
27
};
28
29
#endif
Color
Definition:
Color.h:7
Color::blue
int blue
Definition:
Color.h:26
Color::green
int green
Definition:
Color.h:21
Color::red
int red
Definition:
Color.h:16
Generated by
1.8.13