This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| std::vector<CClass> MyVector; | |
| std::vector<CClass>::const_iterator itElement = MyVector.begin(); | |
| while (itElement != MyVector.end()) { | |
| const CClass& Object = (*itElement++); | |
| // Do whatever you have to do with Object | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| std::vector<CClass> MyVector; | |
| for (std::vector<CClass>::const_iterator itElement = MyVector.begin(); itElement != MyVector.end(); ++itElement) { | |
| // Do whatever you have to do with itElement | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <log> | |
| <logentry revision="1094175"> | |
| <author>apb</author> | |
| <date>2011-04-17T17:11:32.825790Z</date> | |
| <paths> | |
| <path kind="file" action="M">/trunk/file1.txt</path> | |
| <path kind="file" action="M">/trunk/file2.txt</path> | |
| <path kind="file" action="M">/trunk/file3.txt</path> | |
| </paths> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:param name="ticket" select="__none__" /> | |
| <xsl:output encoding="utf-8" method="xml" indent="yes" /> | |
| <xsl:template match="log"> | |
| <xsl:copy> | |
| <xsl:element name="ticket"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <log> | |
| <ticket>ISSUE-2</ticket> | |
| <path kind="file" action="M">/trunk/file1.txt</path> | |
| <path kind="file" action="M">/trunk/file2.txt</path> | |
| <path kind="file" action="M">/trunk/file1.txt</path> | |
| <path kind="file" action="M">/trunk/file4.txt</path> | |
| </log> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:param name="ticket" select="__none__" /> | |
| <xsl:output encoding="utf-8" method="xml" indent="yes" /> | |
| <xsl:key use="text()" name="path-key" | |
| match="path" /> | |
| <xsl:template match="log"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <log> | |
| <ticket>ISSUE-2</ticket> | |
| <path kind="file" action="M">/trunk/file4.txt</path> | |
| </log> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:param name="ticket" select="__none__" /> | |
| <xsl:output encoding="utf-8" method="xml" indent="yes" /> | |
| <xsl:template match="log"> | |
| <xsl:copy> | |
| <xsl:element name="ticket"> | |
| <xsl:value-of select="$ticket" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:output encoding="utf-8" method="xml" indent="yes" /> | |
| <xsl:key use="text()" name="path-key" | |
| match="path" /> | |
| <xsl:template match="log"> | |
| <xsl:copy> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <log> | |
| <path kind="file" action="M">/trunk/file1.txt</path> | |
| <path kind="file" action="M">/trunk/file2.txt</path> | |
| <path kind="file" action="M">/trunk/file4.txt</path> | |
| </log> |
OlderNewer